From 13b652d425dcecd15ce7b6cf6991c4f73306b728 Mon Sep 17 00:00:00 2001 From: trev Date: Sat, 17 May 2025 04:29:39 -0400 Subject: [PATCH] fix: use pat, use shell --- .actions/push/action.yaml | 3 +++ .gitea/workflows/release.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.actions/push/action.yaml b/.actions/push/action.yaml index 4df6da0..08eb822 100644 --- a/.actions/push/action.yaml +++ b/.actions/push/action.yaml @@ -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 \ diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 994f893..12d4f14 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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: |