Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/go-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,23 +186,3 @@ jobs:
subject-name: ${{ inputs.registry-name }}
subject-digest: ${{ steps.process_goreleaser_output.outputs.digest }}
push-to-registry: true

# Credit to the https://github.com/goreleaser/goreleaser/issues/2828#issuecomment-1311662146 workaround
# for nightly/snapshot builds being locked behind the paid version of goreleaser.
- name: List snapshot images
# types are hard vov https://github.com/actions/runner/issues/2238
if: true
run: |
short_sha=$(git rev-parse --short HEAD)
docker image ls --format "{{.Repository}}:{{.Tag}}" | \
grep -e "$GITHUB_REPOSITORY:.*${short_sha}.*" | \
paste -sd ' ' /dev/stdin > images
- name: Push snapshot images
if: true
run: |
xargs -d ' ' -I{} -n1 sh -c "docker push {}" < images
- name: Create and push manifest for :snapshot tag
if: true
run: |
docker manifest create "$GITHUB_REPOSITORY:snapshot" "$(cat images)"
docker manifest push "$GITHUB_REPOSITORY:snapshot"
Loading