Skip to content

Commit

Permalink
Fix incorrect name of releasable image
Browse files Browse the repository at this point in the history
Without this, the docker tag will fail with unknown image name.

This is a problem, as it breaks our releasing.

This fixes it by both listing the available images to tag but
also removing the incorrect dash on the image names.
  • Loading branch information
evrardjp-cagip committed Jan 7, 2025
1 parent 2468b6a commit 8aef4c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:

- name: Push development image into dockerhub
run: |
docker tag ghcr.io/cagip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }} ca-gip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }}
docker images #display currently built images to ensure next calls will happen correctly
docker tag ghcr.io/ca-gip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }} ca-gip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }}
docker push ca-gip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }}
docker tag ghcr.io/cagip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }} ca-gip/kubi-${{ matrix.component }}:${{ steps.tag.outputs.version }}
docker push ca-gip/kubi-${{ matrix.component }}:${{ steps.tag.outputs.version }}
docker tag ghcr.io/ca-gip/kubi-${{ matrix.component }}:${{ steps.sha.outputs.sha_short }}-${{ matrix.arch }} ca-gip/kubi-${{ matrix.component }}:${{ steps.tag.outputs.version }}
docker push ca-gip/kubi-${{ matrix.component }}:${{ steps.tag.outputs.version }}

0 comments on commit 8aef4c9

Please sign in to comment.