Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles authored May 24, 2022
1 parent 0fdd4fe commit 6a5128c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,6 @@ jobs:
git commit -am 'release v${{ github.event.inputs.version }}'
git push origin stable
- name: Build Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ucbdsinfra/otter-grader:${{ github.event.inputs.version }}
ucbdsinfra/otter-grader:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Create dist and push to PyPI
env:
TWINE_USERNAME: __token__
Expand All @@ -105,3 +94,14 @@ jobs:
run: |
hub pull-request -b ucbds-infra:master -h ucbds-infra:stable -l "release" -r chrispyles \
-m "Release v${{ github.event.inputs.version }}"$'\n'$'\n'"Updates from the release of version ${{ github.event.inputs.version }}"
- name: Build Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ucbdsinfra/otter-grader:${{ github.event.inputs.version }}
ucbdsinfra/otter-grader:latest
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 6a5128c

Please sign in to comment.