From b69609551f156480956be229cda0f262a6d8c582 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 18:41:30 +0000 Subject: [PATCH] fix(ci): re-enable pushing of images to registry --- .gitea/workflows/release.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ed02c79..414a8e4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -133,25 +133,8 @@ jobs: - name: Build and push images uses: docker/build-push-action@v5 with: + context: . push: true - build-args: | - DOCKER_METADATA_OUTPUT_JSON - - # - name: Build images - # uses: docker/build-push-action@v6 - # with: - # context: . - # push: false - # labels: ${{ steps.meta.outputs.labels }} - # tags: | - # ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:latest - # ${{ 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:${{ needs.create_release.outputs.release_name }} - - # - name: Push images - # run: | - # docker push ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:latest - # docker push ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.create_release.outputs.release_name }} - # docker push ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:latest - # docker push ghcr.io/${{ vars.GHCR_USERNAME }}/webexmemebot:${{ needs.create_release.outputs.release_name }} + annotations: ${{ steps.meta.outputs.annotations }} + labels: ${{ steps.meta.outputs.labels }} + tags: ${{ steps.meta.outputs.tags }}