fix(ci): re-enable pushing of images to registry

This commit is contained in:
Luke Tainton 2025-01-02 18:38:22 +00:00
parent 2a7df3d413
commit d616711cf5
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -128,16 +128,15 @@ jobs:
images: | images: |
ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot
${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }} ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
tags: | tags: type=semver,pattern=v{{version}},value=${{ needs.create_release.outputs.release_name }}
type=raw,value=latest
type=semver,pattern=v{{version}},value=${{ needs.create_release.outputs.release_name }} - name: Build and push images
- name: Build and push imagse
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
push: true
build-args: | build-args: |
DOCKER_METADATA_OUTPUT_JSON DOCKER_METADATA_OUTPUT_JSON
# - name: Build images # - name: Build images
# uses: docker/build-push-action@v6 # uses: docker/build-push-action@v6
# with: # with:
@ -149,7 +148,7 @@ jobs:
# ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.create_release.outputs.release_name }} # ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.create_release.outputs.release_name }}
# ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:latest # ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:latest
# ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:${{ needs.create_release.outputs.release_name }} # ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:${{ needs.create_release.outputs.release_name }}
# - name: Push images # - name: Push images
# run: | # run: |
# docker push ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:latest # docker push ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:latest