Skip to content

Commit

Permalink
tag afterwards
Browse files Browse the repository at this point in the history
  • Loading branch information
sreya committed May 31, 2024
1 parent f9f1721 commit 0e259ea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,15 @@ jobs:
- name: Tag Image
run: docker tag envbox ghcr.io/coder/envbox:${{ github.event.inputs.version }}

- name: Push Image
run: docker push ghcr.io/coder/envbox:${{ github.event.inputs.version }}
tag:
runs-on: ubuntu-22.04
needs: release
steps:
- name: Tag and Push Commit
run: |
git tag -a ${{ github.event.inputs.version }} -m ${{ github.event.inputs.version }}
git push --tags
- name: Push Image
run: docker push ghcr.io/coder/envbox:${{ github.event.inputs.version }}

0 comments on commit 0e259ea

Please sign in to comment.