fixed typo

This commit is contained in:
System Administrator 2024-03-19 12:12:12 +11:00
parent dd6b3538d6
commit 6e8b5932ae

View File

@ -43,7 +43,7 @@ jobs:
sudo apt-get install -y qemu-user-static
- name: Build unstable image
if: ${{ inputs.event == 'push' || inputs.event == 'pull' }}
if: ${{ inputs.event == 'push' || inputs.event == 'pull_request' }}
run: buildah bud --platform ${{ matrix.platform.name }} --build-arg FROM_IMAGE=${{ format('ghcr.io/zyclonite/{0}', env.IMAGE_NAME) }} --build-arg FROM_VERSION=main -f ./Dockerfile.router -t ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} .
- name: Build stable image
@ -97,7 +97,7 @@ jobs:
buildah manifest add --arch riscv64 ${{ env.IMAGE_NAME }}:latest ${{ env.IMAGE_NAME }}:riscv64
- name: Push unstable images
if: ${{ inputs.event == 'push' || inputs.event == 'pull' }}
if: ${{ inputs.event == 'push' || inputs.event == 'pull_request' }}
run: |
buildah manifest push --all --format v2s2 --creds zyclonite:${{ secrets.REGISTRY_PASSWORD }} ${{ env.IMAGE_NAME }}:latest docker://docker.io/zyclonite/${{ env.IMAGE_NAME }}:router-main
buildah manifest push --all --creds zyclonite:${{ secrets.QUAY_PASSWORD }} ${{ env.IMAGE_NAME }}:latest docker://quay.io/zyclonite/${{ env.IMAGE_NAME }}:router-main