Skip to content

Commit

Permalink
ci(point-of-sale): tag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Jun 24, 2024
1 parent 328efe9 commit e281694
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/point-of-sale-docker-ab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:
run: |
echo "${ENV_FILE}" > ./apps/point-of-sale/.env
- name: Set branch name with AB suffix
id: branch_name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/}-AB)" >> $GITHUB_ENV

- name: Get Docker meta (for tags)
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_TAG_POS }}
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch,pattern={{branch}}-AB
type=semver,pattern={{version}}
tags: ${{ env.BRANCH_NAME }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -73,4 +73,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: "apps/point-of-sale/Dockerfile"
file: "apps/point-of-sale/Dockerfile"

0 comments on commit e281694

Please sign in to comment.