diff --git a/.github/workflows/pushimage-next.yaml b/.github/workflows/pushimage-next.yaml index ebefbd5e..3d9994a2 100644 --- a/.github/workflows/pushimage-next.yaml +++ b/.github/workflows/pushimage-next.yaml @@ -31,15 +31,18 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build and push oci-registry docker image - uses: docker/build-push-action@v5.3.0 + - name: Login to Quay.io + uses: docker/login-action@v3 with: - path: ./oci-registry + registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - registry: quay.io + - name: Build and push oci-registry docker image + uses: docker/build-push-action@v5.3.0 + with: + context: ./oci-registry repository: rh-ee-jdubrick/test-oci-registry - dockerfile: ./oci-registry/Dockerfile + file: ./oci-registry/Dockerfile platforms: linux/amd64,linux/arm64 tags: next tag_with_sha: true