Skip to content

chore(config): migrate renovate config #107

chore(config): migrate renovate config

chore(config): migrate renovate config #107

Workflow file for this run

name: Docker Image TQ CI
on:
# push:
# branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag tquinnelly/clamav-alpine:latest
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta-latest
uses: docker/metadata-action@8e1d5461f02b7886d3c1a774bfbd873650445aa2
with:
images: ${{ secrets.DOCKER_USERNAME }}/clamav-alpine:latest
- name: Extract metadata (tags, labels) for Docker
id: meta-edge
uses: docker/metadata-action@8e1d5461f02b7886d3c1a774bfbd873650445aa2
with:
images: ${{ secrets.DOCKER_USERNAME }}/clamav-alpine:edge
- name: Push it - Latest
uses: docker/build-push-action@v6.12.0
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/clamav-alpine:latest
- name: Push it - Edge
uses: docker/build-push-action@v6.12.0
with:
context: .
file: ./edge-Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/clamav-alpine:edge