Skip to content

Commit

Permalink
asfd
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobMiksch authored Jul 28, 2024
1 parent 3c66d3b commit 912b3de
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,26 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }}
type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push Docker Image
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
platforms: linux/amd64,linux/arm64
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# - name: Build and push Docker Image
# uses: docker/build-push-action@v5
# if: github.ref == 'refs/heads/dev'
# with:
# platforms: linux/amd64,linux/arm64
# context: .
# push: true
# tags: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev'
# labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker Image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
push: true
tags: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev'
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 912b3de

Please sign in to comment.