diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca34dda..e64030d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: id: date run: echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%m:%SZ')" - name: Buildah Action + id: build-image uses: redhat-actions/buildah-build@v2 with: image: docker.io/groovytron/python @@ -30,3 +31,15 @@ jobs: --user dev \ docker.io/groovytron/python:3.12 \ bash ./test.sh + - name: Push To docker.io + id: push-to-dockerio + uses: redhat-actions/push-to-registry@v2 + with: + image: ${{ steps.build-image.outputs.image }} + tags: ${{ steps.build-image.outputs.tags }} + registry: docker.io/groovytron + username: groovytron + password: ${{ secrets.REGISTRY_TOKEN }} + + - name: Print image url + run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"