Skip to content

Commit

Permalink
Merge pull request #429 from thomasmckay/1486-cut-release-2
Browse files Browse the repository at this point in the history
chore: fix release actions (PROJQUAY-1486)
  • Loading branch information
thomasmckay authored Apr 15, 2021
2 parents 093eb59 + 98626d9 commit 34bccb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ jobs:
id: download
with:
name: release
- name: Build Release Container
run: |
d=$(mktemp -d)
trap 'rm -rf "$d"' EXIT
tar -xz -f ${{steps.download.outputs.download-path}}/release.tar.gz --strip-components=1 -C "$d"
docker build --build-arg QUAY_VERSION --tag "${TAG}" "$d"
- name: Publish Release Container
run: |
docker login -u "${QUAY_USER}" -p '${{ secrets.QUAY_TOKEN }}' quay.io
docker push "${TAG}"
# - name: Build Release Container
# run: |
# d=$(mktemp -d)
# trap 'rm -rf "$d"' EXIT
# tar -xz -f ${{steps.download.outputs.download-path}}/release.tar.gz --strip-components=1 -C "$d"
# docker build --build-arg QUAY_VERSION --tag "${TAG}" "$d"
# - name: Publish Release Container
# run: |
# docker login -u "${QUAY_USER}" -p '${{ secrets.QUAY_TOKEN }}' quay.io
# docker push "${TAG}"
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
tar xvf /tmp/git-chglog.tar.gz --directory /tmp
chmod u+x /tmp/git-chglog
echo "creating change log for tag: ${{ github.event.inputs.tag }}"
/tmp/git-chglog --tag-filter-pattern "v3.*" -o CHANGELOG.md v3.6.0-alpha.1..
/tmp/git-chglog --tag-filter-pattern "v3.*" -o CHANGELOG.md v3.6.0-alpha.2..
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.5.1
with:
Expand Down

0 comments on commit 34bccb2

Please sign in to comment.