Skip to content

Commit 73760bb

Browse files
committed
use only the tag name instead of the full ref
1 parent 8ce42a2 commit 73760bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-and-publish-images.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
- name: Set up Docker Buildx
16-
uses: docker/setup-buildx-action@v1
16+
uses: docker/setup-buildx-action@v3
1717

1818
- name: Login to GitHub Container Registry
1919
uses: docker/login-action@v3

.github/workflows/chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
- name: Build, package and push helm chart
3535
run: |
3636
./tool/go run cmd/k8s-operator/generate/main.go helmcrd
37-
./tool/helm package --app-version="${GITHUB_REF}" --version=${GITHUB_REF} './cmd/k8s-operator/deploy/chart'
38-
./tool/helm push ./tailscale-operator-${GITHUB_REF}.tgz oci://${{ steps.set-variables.outputs.REPOSITORY }}/charts
37+
./tool/helm package --app-version=${{ github.ref_name }} --version=${{ github.ref_name }} './cmd/k8s-operator/deploy/chart'
38+
./tool/helm push ./tailscale-operator-${{ github.ref_name }}.tgz oci://${{ steps.set-variables.outputs.REPOSITORY }}/charts

0 commit comments

Comments
 (0)