Skip to content

Commit

Permalink
fix: Corrige geração de tags
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemag authored Oct 12, 2023
1 parent 14f0b17 commit 9eebc22
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Add SHORT_SHA environment property with last commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v3
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
augustoasilva/fourlanches
tags: |
type=sha
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -34,4 +40,5 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: augustoasilva/fourlanches:${SHORT_SHA}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 9eebc22

Please sign in to comment.