fix: use pat, use shell
All checks were successful
Check / check (push) Successful in 55s

This commit is contained in:
2025-05-17 04:29:39 -04:00
parent 3bdef16173
commit 13b652d425
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,7 @@ runs:
using: "composite"
steps:
- name: Set env
shell: bash
run: |
REGISTRY=$(basename ${{ inputs.server_url }})
@ -29,6 +30,7 @@ runs:
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Push images
shell: bash
run: |
docker image tag $REPOSITORY:$VERSION-amd64 $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64
docker push $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64
@ -40,6 +42,7 @@ runs:
docker push $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-arm
- name: Push manifest
shell: bash
run: |
docker manifest create $HOST/$REPOSITORY:$VERSION \
$REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64 \

View File

@ -52,7 +52,7 @@ jobs:
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.PAT }}
- name: Build & load images
run: |