Skip to content

Commit

Permalink
(workflow): multiple updates
Browse files Browse the repository at this point in the history
- rename image repo
- don't use latest tag
- add label to dockerfile
  • Loading branch information
kameshsampath committed Apr 8, 2024
1 parent f21a346 commit 6ef9c0f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 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: ghcr.io/${{ github.repository_owner }}/rp-snowflake-sink
IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/rp-snowflake-sink

jobs:
docker:
Expand All @@ -40,7 +40,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.ref_name }}
${{ env.IMAGE_REPO }}:latest
${{ env.IMAGE_REPO }}:${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }}
4 changes: 2 additions & 2 deletions .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: ghcr.io/${{ github.repository_owner }}/grpc-todo-app
IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/grpc-todo-app

jobs:
goreleaser:
Expand All @@ -37,4 +37,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }}
KO_DOCKER_REPO: ${{ env.IMAGE_NAME }}/grpc-todo-app
KO_DOCKER_REPO: ${{ env.IMAGE_REPO }}
2 changes: 0 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ kos:
labels:
org.opencontainers.image.source: https://github.com/kameshsampath/grpc-todo-app
tags:
- latest
- "{{.Tag}}"
- "{{if not .Prerelease}}stable{{end}}"
creation_time: "{{.CommitTimestamp}}"
Expand All @@ -93,7 +92,6 @@ kos:
labels:
org.opencontainers.image.source: https://github.com/kameshsampath/grpc-todo-app
tags:
- latest
- "{{.Tag}}"
- "{{if not .Prerelease}}stable{{end}}"
creation_time: "{{.CommitTimestamp}}"
Expand Down
2 changes: 2 additions & 0 deletions etc/docker/Dockerfile.snowsink
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM docker.io/confluentinc/cp-kafka-connect-base:7.6.0 AS hub

LABEL org.opencontainers.image.source https://github.com/kameshsampath/grpc-todo-app

# https://www.confluent.io/hub/snowflakeinc/snowflake-kafka-connector
# https://www.confluent.io/hub/confluentinc/kafka-connect-protobuf-converter

Expand Down

0 comments on commit 6ef9c0f

Please sign in to comment.