Skip to content

Commit

Permalink
update GitHub Actions Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrofisr committed Jun 29, 2024
1 parent 6879a9a commit ba36fdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- name: Set environment variables
run: |
echo "IMAGE_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
echo "GITHUB_REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
- name: Auth Container Registry
uses: docker/login-action@v3
Expand All @@ -37,12 +36,12 @@ jobs:
context: .
file: ./Dockerfile.back
push: true
tags: ghcr.io/$GITHUB_REPOSITORY/cloud-run-back:${{ env.IMAGE_VERSION }}
tags: ghcr.io/${{ github.repository }}/cloud-run-back:${{ env.IMAGE_VERSION }}

- name: Build and push Docker image Frontend
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.front
push: true
tags: ghcr.io/$GITHUB_REPOSITORY/cloud-run-front:${{ env.IMAGE_VERSION }}
tags: ghcr.io/${{ github.repository }}/cloud-run-front:${{ env.IMAGE_VERSION }}

0 comments on commit ba36fdd

Please sign in to comment.