env.USER
Some checks failed
Build and Push Ansible Container / build-and-push (push) Failing after 46s
Some checks failed
Build and Push Ansible Container / build-and-push (push) Failing after 46s
This commit is contained in:
parent
78c740e50c
commit
281814dd98
1 changed files with 4 additions and 2 deletions
|
|
@ -16,6 +16,8 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CONTAINER_NAME: ansible
|
CONTAINER_NAME: ansible
|
||||||
|
# USER: ${{ github.actor }}
|
||||||
|
USER: hbms
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
|
@ -34,7 +36,7 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.REGISTRY }}
|
registry: ${{ vars.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ env.USER }}
|
||||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
|
@ -45,4 +47,4 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
provenance: false
|
provenance: false
|
||||||
platforms: linux/amd64, linux/arm64
|
platforms: linux/amd64, linux/arm64
|
||||||
tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest
|
tags: ${{ env.REGISTRY }}/${{ env.USER }}/${{ env.CONTAINER_NAME }}:latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue