Skip to content

Commit

Permalink
github action built on each version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sparul93 committed Feb 2, 2024
1 parent 0b7e593 commit c0d3723
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ on:
push:
branches:
- 'main'
tags:
- 'v*'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/cityofkamloops/filepass
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -27,5 +34,4 @@ jobs:
context: .
platforms: linux/amd64
push: true
tags: |
ghcr.io/cityofkamloops/filepass:latest
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit c0d3723

Please sign in to comment.