debug
Some checks failed
Build and push OCI image / build (push) Failing after 24s

This commit is contained in:
2025-08-19 21:23:11 +02:00
parent bf9f126be4
commit f533449926

View File

@@ -24,10 +24,10 @@ jobs:
run: | run: |
echo GT ${{ secrets.GITHUB_TOKEN }} echo GT ${{ secrets.GITHUB_TOKEN }}
echo GH ${{ secrets.GITHUB_TOKEN }} echo GH ${{ secrets.GITHUB_TOKEN }}
echo actore ${{ gitea.actor }} test -z "${{ secrets.GITEA_TOKEN}}" && echo "GITEA_TOKEN is empty"
test -z "${{ secrets.GITHUB_TOKEN}}" && echo "GITHUB_TOKEN is empty"
- name: Checkout repository echo actore ${{ gitea.actor }}
uses: actions/checkout@v4
- name: Install Buildah - name: Install Buildah
run: |- run: |-
@@ -39,6 +39,12 @@ jobs:
else else
echo "Buildah already installed" echo "Buildah already installed"
fi fi
- name: Login to repository
run: |
buildah login $REGISTRY -u ${{ gitea.actor }} -p ${{ secrets.GITEA_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Build and tag - name: Build and tag
run: |- run: |-
@@ -48,6 +54,5 @@ jobs:
- name: Push image - name: Push image
run: |- run: |-
buildah login $REGISTRY -u ${{ gitea.actor }} -p ${{ secrets.GITHUB_TOKEN }}
buildah push $REGISTRY/${IMAGE_NAME,,}:$VERSION buildah push $REGISTRY/${IMAGE_NAME,,}:$VERSION
buildah push $REGISTRY/${IMAGE_NAME,,}:latest buildah push $REGISTRY/${IMAGE_NAME,,}:latest