From 7675815d2aeb9f1ae96eafcba6a1109e142e55ef Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Wed, 3 Sep 2025 13:44:39 -0400 Subject: [PATCH] Update env variable --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8fec42..08021ec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,19 +27,19 @@ jobs: ansible-galaxy collection install ansible.posix --force - name: "Enable Corepack" run: corepack enable - - name: Log into registry ${{ env.REGISTRY }} + - name: Log into registry ${{ env.HUB_USER }} uses: docker/login-action@v2 with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: ${{ env.HUB_USER }} + username: ${{ env.HUB_USER }} + password: ${{ secrets.HUB_TOKEN }} - name: "Setup Docker buildx" uses: docker/setup-buildx-action@v2 - name: Extract Docker metadata id: meta uses: docker/metadata-action@v4 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }} - name: "Build and Push Versioned Docker Image" id: build-and-push uses: docker/build-push-action@v4 @@ -56,5 +56,5 @@ jobs: with: context: . push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + tags: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }}:latest labels: ${{ steps.meta.outputs.labels }}