Skip to content

Merge pull request #59 from rwaffen/release-0.8.0 #15

Merge pull request #59 from rwaffen/release-0.8.0

Merge pull request #59 from rwaffen/release-0.8.0 #15

Workflow file for this run

name: Build and publish a 🛢️ container
on:
push:
branches:
- 'master'
tags:
- '*'
env:
TAG: ${{ github.ref_name == 'master' && 'development' || github.ref_name }}
jobs:
build-and-push-container:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: voxpupuli/gha-build-and-publish-a-container@v2
with:
registry_password: ${{ secrets.GITHUB_TOKEN }}
build_arch: linux/amd64,linux/arm64
docker_username: voxpupulibot
docker_password: ${{ secrets.DOCKERHUB_BOT_PASSWORD}}
tags: |
ghcr.io/${{ github.repository }}:${{ env.TAG }}
ghcr.io/${{ github.repository }}:latest
docker.io/${{ github.repository }}:${{ env.TAG }}
docker.io/${{ github.repository }}:latest