mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 02:34:43 +00:00
more CI/CD fixes
This commit is contained in:
parent
7a494695aa
commit
35661794fa
1 changed files with 4 additions and 3 deletions
7
.github/workflows/publish-release.yaml
vendored
7
.github/workflows/publish-release.yaml
vendored
|
|
@ -22,10 +22,11 @@ jobs:
|
|||
|
||||
# setting tags
|
||||
if echo "$VERSION" | grep -q "beta"; then
|
||||
TAGS="beta, $VERSION, latest"
|
||||
|
||||
TAGS="ghcr.io/${{ github.repository }}:beta, ghcr.io/${{ github.repository }}:$VERSION, ghcr.io/${{ github.repository }}:latest"
|
||||
PRIMARY_TAG=latest
|
||||
else
|
||||
TAGS="release, latest, $VERSION"
|
||||
TAGS="ghcr.io/${{ github.repository }}:release, ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:$VERSION"
|
||||
PRIMARY_TAG=latest
|
||||
fi
|
||||
echo "::set-output name=TAG::$TAGS"
|
||||
|
|
@ -46,7 +47,7 @@ jobs:
|
|||
VERSION=${{ steps.gathervars.outputs.VERSION }}
|
||||
context: ./docker/production
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:${{ steps.gathervars.outputs.TAG }}
|
||||
${{ steps.gathervars.outputs.TAG }}
|
||||
push: true
|
||||
|
||||
- name: Extract build out of docker image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue