Skip to content

Commit

Permalink
ci: update docker metadata tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Sep 30, 2024
1 parent 1d91845 commit 6b256d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,17 @@ jobs:
${{ vars.DOCKER_USERNAME }}/automatedgo
ghcr.io/${{ github.repository_owner }}/AutomatedGo
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build & push Docker Images
- name: Build & Push Docker Images
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' && steps.meta.outputs.tags != '' }}
push: ${{ github.event_name != 'pull_request'}}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down

0 comments on commit 6b256d1

Please sign in to comment.