Skip to content

Commit

Permalink
Don't use v in release versions (#212)
Browse files Browse the repository at this point in the history
* Don't use v in release versions

* Ignore all tags that start with "v"
  • Loading branch information
divolgin authored Oct 9, 2024
1 parent 0c53e64 commit 271d5b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+\-beta'
- 'v[0-9]+.[0-9]+.[0-9]+\-beta\.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+\-alpha'
- 'v[0-9]+.[0-9]+.[0-9]+\-alpha\.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+\-beta'
- '[0-9]+.[0-9]+.[0-9]+\-beta\.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+\-alpha'
- '[0-9]+.[0-9]+.[0-9]+\-alpha\.[0-9]+'

env:
PACT_VERSION: ${{ github.ref_name }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Run Package and Publish
env:
REPLICATED_TAG: v${{needs.get-tags.outputs.tag}}
REPLICATED_TAG: ${{needs.get-tags.outputs.tag}}
REPLICATED_REGISTRY: docker.io
REPLICATED_CHART_NAME: replicated
REPLICATED_CHART_VERSION: ${{needs.get-tags.outputs.tag}}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
if: success() && needs.package-and-publish.result == 'success'
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
image: index.docker.io/replicated/replicated-sdk:v${{ needs.get-tags.outputs.tag }}
image: index.docker.io/replicated/replicated-sdk:${{ needs.get-tags.outputs.tag }}
digest: ${{ needs.package-and-publish.outputs.digest }}
secrets:
registry-password: ${{ secrets.DOCKERHUB_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ vet:

.PHONY: build-ttl.sh
build-ttl.sh:
docker buildx build . -t ttl.sh/${USER}/replicated-sdk:24h -f deploy/Dockerfile
docker buildx build . -t ttl.sh/${USER}/replicated-sdk:24h -f deploy/Dockerfile
docker push ttl.sh/${USER}/replicated-sdk:24h

make -C chart build-ttl.sh
Expand Down

0 comments on commit 271d5b8

Please sign in to comment.