diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80f1ac6..134a6b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,9 @@ on: push: branches: - - main + - develop + tags: + - 'v*' # This will trigger the workflow for version tags like v1.0.0 workflow_dispatch: jobs: @@ -26,6 +28,8 @@ jobs: push: true file: ./Dockerfile platforms: linux/amd64 - tags: ghcr.io/pridevrinc/vrcauthproxy:latest + tags: | + ghcr.io/pridevrinc/vrcauthproxy:latest + ghcr.io/pridevrinc/vrcauthproxy:${{ github.ref }} # Push the tagged version cache-from: type=gha cache-to: type=gha,mode=max \ No newline at end of file