Skip to content

Commit

Permalink
🔧 fix docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Irori235 committed Nov 1, 2023
1 parent 778126f commit cbbd726
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
password: ${{ steps.auth.outputs.access_token }}
- name: Create Tag
id: create-tag
run: echo 'tag=${{ github.sha }}' >> $GITHUB_OUTPUT
run: |
echo 'tag1=asia-northeast1-docker.pkg.dev/${{ secrets.GOOGLE_PROJECT_ID }}/irori-dev/portofolio:${{ github.sha }}' >> $GITHUB_OUTPUT
echo 'tag2=asia-northeast1-docker.pkg.dev/${{ secrets.GOOGLE_PROJECT_ID }}/irori-dev/portofolio:latest' >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
user/app:${{ steps.create-tag.outputs.tag }}
user/app:latest
${{ steps.create-tag.outputs.tag1 }}
${{ steps.create-tag.outputs.tag2 }}

1 comment on commit cbbd726

@vercel
Copy link

@vercel vercel bot commented on cbbd726 Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.