diff --git a/.github/workflows/builder-buildah-build.yml b/.github/workflows/builder-buildah-build.yml index 98b6603..65ef0ea 100644 --- a/.github/workflows/builder-buildah-build.yml +++ b/.github/workflows/builder-buildah-build.yml @@ -51,10 +51,9 @@ jobs: id: build-image uses: redhat-actions/buildah-build@v2 with: - platform: linux/amd64 + platforms: linux/amd64 image: ${{ env.IMAGE_NAME }} tags: ${{ env.AUTOWARE_VERSION }}-builder latest - layers: true oci: true build-args: | AUTOWARE_VERSION=${{ env.AUTOWARE_VERSION }} @@ -70,10 +69,14 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - # - name: Push to GitHub Container Repository - # id: push-to-ghcr - # uses: redhat-actions/push-to-registry@v2 - # with: - # image: ${{ steps.build-image.outputs.image }} - # tags: ${{ steps.build-image.outputs.tags }} - # registry: ${{ env.REGISTRY }} + - name: Push to GitHub Container Repository + id: push-builder-ghcr + uses: redhat-actions/push-to-registry@v2 + with: + registry: ${{ env.REGISTRY }} + image: ${{ steps.build-image.outputs.image }} + tags: ${{ steps.build-image.outputs.tags }} + + - name: Print image url + run: echo "Image pushed to ${{ steps.push-builder-ghcr.outputs.registry-paths }}" + \ No newline at end of file