Compare commits
4 Commits
2b594f8c05
...
0c0d9efc0f
Author | SHA1 | Date |
---|---|---|
Jarno Rankinen | 0c0d9efc0f | |
Jarno Rankinen | ca04fdd5f4 | |
Jarno Rankinen | f204d03f9e | |
Jarno Rankinen | 566484ea8f |
|
@ -0,0 +1,38 @@
|
||||||
|
name: Daily build
|
||||||
|
|
||||||
|
# Controls when the workflow will run
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "39 19 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Login to ghcr.io
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v5
|
||||||
|
name: Daily build
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
ghcr.io/0ranki/clamav-docker:latest
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM docker.io/clamav/clamav:latest
|
||||||
|
|
||||||
|
RUN sed -i s/localhost/127.0.0.1/g /usr/local/bin/clamdcheck.sh
|
|
@ -1,4 +1,6 @@
|
||||||
# clamav-docker-arm64
|
# clamav-docker-arm64
|
||||||
Arm64 container images of ClamAV
|
Arm64 and amd64 container images of ClamAV
|
||||||
|
|
||||||
Built manually according to instructions at https://github.com/Cisco-Talos/clamav/blob/main/README.Docker.md#building-the-clamav-image on top of Alpine Linux
|
The images have a modified clamdcheck.sh script, changing "localhost" to "127.0.0.1", as the healtcheck failed when running the container using `podman kube play`
|
||||||
|
|
||||||
|
Built manually according to instructions at https://github.com/Cisco-Talos/clamav/blob/main/README.Docker.md#building-the-clamav-image from the docker.io/clamav/clamav image.
|
||||||
|
|
Loading…
Reference in New Issue