1 files changed,
12 insertions(+),
0 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-09-27 21:43:54 +0300
Parent:
8fe5595
M
.github/workflows/release.yml
@@ -27,13 +27,25 @@ registry: ghcr.io
username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Retag existing image + if: steps.check_image.outputs.exists == 'true' + run: | + docker pull "$IMAGE_NAME:${{ steps.check_image.outputs.commit_sha }}" + docker tag "$IMAGE_NAME:${{ steps.check_image.outputs.commit_sha }}" "$IMAGE_NAME:$TAG" + docker tag "$IMAGE_NAME:${{ steps.check_image.outputs.commit_sha }}" "$IMAGE_NAME:latest" + docker push "$IMAGE_NAME:$TAG" + docker push "$IMAGE_NAME:latest" + - name: Fetch extensions + if: steps.check_image.outputs.exists != 'true' run: ./fetch.sh - name: Build the container + if: steps.check_image.outputs.exists != 'true' run: ./build.sh "$IMAGE_NAME" "$TAG" - name: Publish the container + if: steps.check_image.outputs.exists != 'true' run: | docker push "$IMAGE_NAME:$TAG" if [[ "${{ github.ref }}" == refs/tags/* ]]; then