Skip to content

Commit

Permalink
(workflow): use FQN for image names
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Apr 8, 2024
1 parent c85ab47 commit f21a346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
# issues: write

env:
IMAGE_NAME: ${{ github.repository_owner }}/rp-snowflake-sink
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/rp-snowflake-sink

jobs:
docker:
Expand Down Expand Up @@ -44,11 +44,3 @@ jobs:
${{ env.IMAGE_NAME }}:${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }}
- name: Push image to GHCR
run: |
docker buildx imagetools create \
--tag ghcr.io/${{ env.IMAGE_NAME }}:latest \
--tag ghcr.io/${{ env.IMAGE_NAME }}:${{ github.ref_name }} \
${{ env.IMAGE_NAME }}:latest
env:
GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
# issues: write

env:
IMAGE_NAME: ${{ github.repository_owner }}/grpc-todo-app
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/grpc-todo-app

jobs:
goreleaser:
Expand Down

0 comments on commit f21a346

Please sign in to comment.