chore: disable latest tag for docker
so old installations wont break until v15 is stable enough
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -6,6 +6,9 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
|
||||||
|
# This workflow does not support fixing old versions
|
||||||
|
# as this will break the latest and major tags
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
name: Build & Deploy Docker
|
name: Build & Deploy Docker
|
||||||
@@ -31,6 +34,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/wg-easy/wg-easy
|
ghcr.io/wg-easy/wg-easy
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
@@ -87,8 +92,6 @@ jobs:
|
|||||||
cd docs
|
cd docs
|
||||||
git fetch origin gh-pages --depth=1 || true
|
git fetch origin gh-pages --depth=1 || true
|
||||||
|
|
||||||
# latest will point to old docs if old tag is pushed
|
|
||||||
|
|
||||||
# Extract version numbers
|
# Extract version numbers
|
||||||
DOCS_VERSION=${GITHUB_REF#refs/tags/} # e.g. v1.2.3 or v1.2.3-beta
|
DOCS_VERSION=${GITHUB_REF#refs/tags/} # e.g. v1.2.3 or v1.2.3-beta
|
||||||
MINOR_VERSION=$(echo $DOCS_VERSION | cut -d. -f1,2) # e.g. v1.2
|
MINOR_VERSION=$(echo $DOCS_VERSION | cut -d. -f1,2) # e.g. v1.2
|
||||||
|
|||||||
Reference in New Issue
Block a user