Comments (7)
I tried to manually run manifest-tool, that worked so far.
How do you recommend to configure hooks in hooks/post_push
?
from docker-clamav.
You may try to install one and check the arch delivered
from docker-clamav.
I had a look into it and tried to figure out how it could be done. Might not be elegant, I am an Azure DevOps guy ;-)
So for each base image platform an action needs to be created, like the following:
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
paths:
- "debian/buster"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Prepare for QEMU
run: sh -c "docker run --rm --privileged multiarch/qemu-user-static:register --reset"
- name: Build and push Docker images
# You may pin to the exact commit or the version.
# uses: docker/build-push-action@ab83648e2e224cfeeab899e23b639660765c3a89
uses: docker/[email protected]
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: # optional
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: # optional
# Server address of Docker registry. If not set then will default to Docker Hub
registry: # optional
# Docker repository to tag the image with
repository:
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: # optional
# Automatically tags the built image with the git reference as per the readme
tag_with_ref: # optional
# Automatically tags the built image with the git short SHA as per the readme
tag_with_sha: # optional
# Path to the build context
path: # optional, default is .
# Path to the Dockerfile (Default is '{path}/Dockerfile')
dockerfile: # optional
# Sets the target stage to build
target: # optional
# Always attempt to pull a newer version of the image
always_pull: # optional
# Comma-delimited list of build-time variables
build_args: # optional
# Comma-delimited list of images to consider as cache sources
cache_froms: # optional
# Comma-delimited list of labels to add to the built image
labels: # optional
# Adds labels with git repository information to the built image
add_git_labels: # optional
# Whether to push the image
push: # optional, default is true
- name: Push manifest
run: curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download/v0.9.0/manifest-tool-linux-amd64 && chmod +x manifest-tool && ./manifest-tool push from-args --platforms linux/amd64,linux/arm/v7,linux/arm64/v8 --template mkodockx/docker-clamav:buster-slim-ARCHVARIANT --target ${repo}docker-clamav:buster-slim
Should trigger on master only if debian/buster
changes were commited. Prepared the qemu requirements and then execute a docker build + push (should be mutliplied per Dockerfile
) and at the end the manifest will pushed to DockerHub. Seems it could all be done within GitHub Action itself. Pay attention to the dockerx command credentials for DockerHub. Should be stored in repo Settings->Secrets.
from docker-clamav.
Ah, I just reealized that you bumped alpine to version 3.12
There shouldn't occur problems, but it may cause one or another.
from docker-clamav.
Ah, I just reealized that you bumped alpine to version 3.12
There shouldn't occur problems, but it may cause one or another.
wrong issue I assume ;-) But seems alpine:12 was not really the issue
from docker-clamav.
#80 can solve this as well :)
from docker-clamav.
This one should be fixed already, shouldn't it?
from docker-clamav.
Related Issues (20)
- init contributors HOT 62
- detailed logs for clamav HOT 2
- bootstrap.sh crashes container HOT 1
- Question to help fix a configuration HOT 4
- Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: Connection refused HOT 4
- Container Won't Start Up HOT 12
- Reasoning for non-default config options HOT 2
- ClamAV installation is outdated HOT 1
- upgrade libcrypto1.1 and libssl1.1 for vulnerability issue HOT 5
- upgrade busybox, ssl_client , zlib and libcurl for vulnerability issues HOT 1
- upgrade gzip and zlib1g for vulnerability issues HOT 3
- mkodockx/docker-clamav:alpine-idb-amd64 does not respond in Azure HOT 2
- Root Login to Container HOT 4
- Upgrade openssl to the newer version (>1.1.1q-r0) for fixing the CVE-2022-2097 HOT 2
- Custom Dockerfile From ClamAV Base Image with Server HOT 1
- Update Error HOT 1
- Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: No such file or directory HOT 2
- docker image rebuild HOT 2
- Memory Spike / Slowly decrease over time HOT 3
- Still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-clamav.