From 249dc620eef1e24fa7b3f1028cea13ce57ef7e9c Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Thu, 7 Nov 2024 13:14:46 -0500 Subject: [PATCH] ci: disable restrictions around pushing --- .forgejo/workflows/build-images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build-images.yml b/.forgejo/workflows/build-images.yml index 90e7f79..519b0c2 100644 --- a/.forgejo/workflows/build-images.yml +++ b/.forgejo/workflows/build-images.yml @@ -31,17 +31,17 @@ jobs: spud build -d ./service.yml podman image ls - name: Push tagged Caddy image to registry - if: ${{ github.event_name == 'push' }} + #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 }} + # 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: | podman push localhost/sesame-promtail:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/promtail:latest - podman push localhost/sesame-promtail:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/promtail:${{ steps.image-metadata.outputs.image-tag }} - podman push localhost/sesame-promtail:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/promtail:${{ github.ref_name }} + # podman push localhost/sesame-promtail:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/promtail:${{ steps.image-metadata.outputs.image-tag }} + # podman push localhost/sesame-promtail:latest ${{ var.REGISTRY_ENDPOINT }}/sesame/promtail:${{ github.ref_name }} post-run: runs-on: imagefactory-latest needs: [build]