Update env variable
Some checks failed
Main / build-and-push-docker-image (20.x) (pull_request) Failing after 16s

This commit is contained in:
2025-09-03 13:48:40 -04:00
parent 7675815d2a
commit 0b88fe2490

View File

@@ -27,10 +27,10 @@ jobs:
ansible-galaxy collection install ansible.posix --force ansible-galaxy collection install ansible.posix --force
- name: "Enable Corepack" - name: "Enable Corepack"
run: corepack enable run: corepack enable
- name: Log into registry ${{ env.HUB_USER }} - name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ${{ env.HUB_USER }} registry: ${{ env.REGISTRY }}
username: ${{ env.HUB_USER }} username: ${{ env.HUB_USER }}
password: ${{ secrets.HUB_TOKEN }} password: ${{ secrets.HUB_TOKEN }}
- name: "Setup Docker buildx" - name: "Setup Docker buildx"
@@ -39,7 +39,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: "Build and Push Versioned Docker Image" - name: "Build and Push Versioned Docker Image"
id: build-and-push id: build-and-push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -56,5 +56,5 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{ env.HUB_USER }}/${{ env.IMAGE_NAME }}:latest tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}