Skip to content

Commit

Permalink
feat: add image to goreleaser cfg (#128)
Browse files Browse the repository at this point in the history
* feat: add image to goreleaser cfg

* chore: test direct push
  • Loading branch information
y-eight authored Apr 4, 2024
1 parent 730ea18 commit 130c287
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
- name: Push snapshot container image
run: |
docker push ghcr.io/${{ github.repository }}:${{ steps.version.outputs.value }}
docker tag ghcr.io/${{ github.repository }}:${{ steps.version.outputs.value }} mtr.devops.telekom.de/sparrow/sparrow:${{ steps.version.outputs.value }}
docker push mtr.devops.telekom.de/sparrow/sparrow:${{ steps.version.outputs.value }}
Expand Down
1 change: 1 addition & 0 deletions .goreleaser-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ builds:
dockers:
- image_templates:
- "ghcr.io/caas-team/sparrow:{{ .Version }}"
- "mtr.devops.telekom.de/sparrow/sparrow:{{ .Version }}"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ dockers:
- "ghcr.io/caas-team/sparrow:{{ .Tag }}"
- "ghcr.io/caas-team/sparrow:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/caas-team/sparrow:v{{ .Major }}"
- "mtr.devops.telekom.de/sparrow/sparrow:latest"
- "mtr.devops.telekom.de/sparrow/sparrow:{{ .Tag }}"
- "mtr.devops.telekom.de/sparrow/sparrow:v{{ .Major }}.{{ .Minor }}"
- "mtr.devops.telekom.de/sparrow/sparrow:v{{ .Major }}"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand Down

0 comments on commit 130c287

Please sign in to comment.