mirror of
https://github.com/pommee/goaway.git
synced 2026-02-20 13:49:10 -06:00
fix: correct order for release
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -28,13 +28,6 @@ jobs:
|
||||
- name: Build website
|
||||
run: make build
|
||||
|
||||
- name: Log in to DockerHub
|
||||
if: success()
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
with:
|
||||
@@ -50,3 +43,15 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
run: |
|
||||
curl -sL https://git.io/goreleaser | bash
|
||||
|
||||
- name: Log in to DockerHub
|
||||
if: success()
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
if: success()
|
||||
run: |
|
||||
make publish
|
||||
|
||||
@@ -11,12 +11,6 @@
|
||||
"assets": ["CHANGELOG.md"],
|
||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"successCmd": "make publish VERSION=${nextRelease.version}"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user