Skip to content

Commit

Permalink
fix pull for release CI & push to v0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaja committed Sep 6, 2020
1 parent 0b34ac9 commit 3ca52d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
echo "::set-output name=imagetags::${TAGS}"
- name: Tag the Docker image
run: |
CR="ghcr.io/${{github.repository}}"
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker pull ${GITHUB_SHA::7}
docker pull ${CR}:${GITHUB_SHA::7}
for tag in ${{steps.tag.outputs.imagetags}}; do
echo "tagging with $tag"
docker tag ${GITHUB_SHA::7} ghcr.io/${{github.repository}}:$tag
docker push ghcr.io/${{github.repository}}:$tag
docker tag ${CR}:${GITHUB_SHA::7} ${CR}:$tag
docker push ${CR}:$tag
done
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
oaat-operator=0.5.4
oaat-operator=0.5.5

0 comments on commit 3ca52d8

Please sign in to comment.