env.USER
Some checks failed
Build and Push Ansible Container / build-and-push (push) Failing after 46s

This commit is contained in:
Xaver Russ 2025-07-21 01:10:13 +02:00
parent 78c740e50c
commit 281814dd98

View file

@ -16,6 +16,8 @@ on:
env:
CONTAINER_NAME: ansible
# USER: ${{ github.actor }}
USER: hbms
jobs:
build-and-push:
@ -34,7 +36,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY }}
username: ${{ github.actor }}
username: ${{ env.USER }}
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Build and push
@ -45,4 +47,4 @@ jobs:
push: true
provenance: false
platforms: linux/amd64, linux/arm64
tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest
tags: ${{ env.REGISTRY }}/${{ env.USER }}/${{ env.CONTAINER_NAME }}:latest