Skip to content

Commit 271d5b8

Browse files
authored
Don't use v in release versions (#212)
* Don't use v in release versions * Ignore all tags that start with "v"
1 parent 0c53e64 commit 271d5b8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/publish.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: publish
22
on:
33
push:
44
tags:
5-
- 'v[0-9]+.[0-9]+.[0-9]+'
6-
- 'v[0-9]+.[0-9]+.[0-9]+\-beta'
7-
- 'v[0-9]+.[0-9]+.[0-9]+\-beta\.[0-9]+'
8-
- 'v[0-9]+.[0-9]+.[0-9]+\-alpha'
9-
- 'v[0-9]+.[0-9]+.[0-9]+\-alpha\.[0-9]+'
5+
- '[0-9]+.[0-9]+.[0-9]+'
6+
- '[0-9]+.[0-9]+.[0-9]+\-beta'
7+
- '[0-9]+.[0-9]+.[0-9]+\-beta\.[0-9]+'
8+
- '[0-9]+.[0-9]+.[0-9]+\-alpha'
9+
- '[0-9]+.[0-9]+.[0-9]+\-alpha\.[0-9]+'
1010

1111
env:
1212
PACT_VERSION: ${{ github.ref_name }}
@@ -125,7 +125,7 @@ jobs:
125125
126126
- name: Run Package and Publish
127127
env:
128-
REPLICATED_TAG: v${{needs.get-tags.outputs.tag}}
128+
REPLICATED_TAG: ${{needs.get-tags.outputs.tag}}
129129
REPLICATED_REGISTRY: docker.io
130130
REPLICATED_CHART_NAME: replicated
131131
REPLICATED_CHART_VERSION: ${{needs.get-tags.outputs.tag}}
@@ -182,7 +182,7 @@ jobs:
182182
if: success() && needs.package-and-publish.result == 'success'
183183
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
184184
with:
185-
image: index.docker.io/replicated/replicated-sdk:v${{ needs.get-tags.outputs.tag }}
185+
image: index.docker.io/replicated/replicated-sdk:${{ needs.get-tags.outputs.tag }}
186186
digest: ${{ needs.package-and-publish.outputs.digest }}
187187
secrets:
188188
registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ vet:
5858

5959
.PHONY: build-ttl.sh
6060
build-ttl.sh:
61-
docker buildx build . -t ttl.sh/${USER}/replicated-sdk:24h -f deploy/Dockerfile
61+
docker buildx build . -t ttl.sh/${USER}/replicated-sdk:24h -f deploy/Dockerfile
6262
docker push ttl.sh/${USER}/replicated-sdk:24h
6363

6464
make -C chart build-ttl.sh

0 commit comments

Comments
 (0)