Skip to content

Commit

Permalink
WIP: Check workflow excluding build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
gmloose committed Jan 16, 2024
1 parent 9d03e91 commit 735b6b5
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
echo "PYMAJOR=${py_major}" >> "$GITHUB_OUTPUT"
echo "PYMINOR=${py_minor}" >> "$GITHUB_OUTPUT"
echo "PYUNICODE=${py_unicode}" >> "$GITHUB_OUTPUT"
exit 1
- name: Extract metadata (tags, labels) for Docker
id: meta
Expand All @@ -56,14 +55,14 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Build and push docker image
uses: docker/build-push-action@v5
with:
build-args: |
PYMAJOR=${{ steps.args.outputs.PYMAJOR }}
PYMINOR=${{ steps.args.outputs.PYMINOR }}
PYUNICODE=${{ steps.args.outputs.PYUNICODE }}
file: docker/py_wheel.docker
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# - name: Build and push docker image
# uses: docker/build-push-action@v5
# with:
# build-args: |
# PYMAJOR=${{ steps.args.outputs.PYMAJOR }}
# PYMINOR=${{ steps.args.outputs.PYMINOR }}
# PYUNICODE=${{ steps.args.outputs.PYUNICODE }}
# file: docker/py_wheel.docker
# push: ${{ github.event_name != 'pull_request' }}
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 735b6b5

Please sign in to comment.