From 8d7d237a794114665932d528d061017d47d73f1f Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Thu, 7 Nov 2024 13:23:14 -0500 Subject: [PATCH] ci: disable restrictions around pushing --- .forgejo/workflows/build-images.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build-images.yml b/.forgejo/workflows/build-images.yml index dc902f0..e58a162 100644 --- a/.forgejo/workflows/build-images.yml +++ b/.forgejo/workflows/build-images.yml @@ -30,11 +30,12 @@ jobs: run: | spud build -d ./service.yml podman image ls - - name: Push tagged Caddy image to registry #if: ${{ github.event_name == 'push' }} - run: podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:latest - # podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:${{ steps.image-metadata.outputs.image-tag }} - # podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:${{ github.ref_name }} + - run: | + podman image ls + podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:latest + # podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:${{ steps.image-metadata.outputs.image-tag }} + # podman push localhost/sesame-caddy:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/caddy:${{ github.ref_name }} - name: Push tagged Promtail image to registry if: ${{ github.event_name == 'push' }} run: |