From 3e53b9bda7793164cc176f3a151d456857e7ee4e Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Thu, 7 Nov 2024 13:37:59 -0500 Subject: [PATCH] ci: fix context - var -> vars --- .forgejo/workflows/build-images.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/build-images.yml b/.forgejo/workflows/build-images.yml index 90e7f79..e4ba030 100644 --- a/.forgejo/workflows/build-images.yml +++ b/.forgejo/workflows/build-images.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Spud uses: https://forge.karnov.club/spadinastan/setup-spud-action@feat/install-spud-in-env - name: Login to Registry - run: podman login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }} ${{ var.REGISTRY_ENDPOINT }} + run: podman login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }} ${{ vars.REGISTRY_ENDPOINT }} - name: Set image metadata id: image-metadata run: | @@ -33,15 +33,15 @@ jobs: - 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 }} + podman push localhost/sesame-caddy:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/caddy:latest + podman push localhost/sesame-caddy:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/caddy:${{ steps.image-metadata.outputs.image-tag }} + podman push localhost/sesame-caddy:latest ${{ vars.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 ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:latest + podman push localhost/sesame-promtail:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:${{ steps.image-metadata.outputs.image-tag }} + podman push localhost/sesame-promtail:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:${{ github.ref_name }} post-run: runs-on: imagefactory-latest needs: [build]