File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : fix docker latest tag
2+
3+ on :
4+ push :
5+ branches :
6+ - fix-doker-latest-tag
7+
8+ permissions :
9+ contents : write
10+ packages : write
11+ id-token : write
12+
13+ jobs :
14+ goreleaser :
15+ runs-on : ubuntu-latest
16+ steps :
17+ # login to docker hub
18+ - id : get-secrets
19+ uses : grafana/shared-workflows/actions/get-vault-secrets@28361cdb22223e5f1e34358c86c20908e7248760
20+ with :
21+ common_secrets : |
22+ DOCKERHUB_USERNAME=dockerhub:username
23+ DOCKERHUB_PASSWORD=dockerhub:password
24+ - uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
25+ name : Login to Docker Hub
26+ with :
27+ username : ${{ env.DOCKERHUB_USERNAME }}
28+ password : ${{ env.DOCKERHUB_PASSWORD }}
29+ - run : |
30+ docker pull grafana/pyroscope:1.13.2
31+ docker pull grafana/pyroscope:1.13.2
32+ docker tag grafana/pyroscope:1.13.2 grafana/pyroscope:latest
33+ docker push grafana/pyroscope:latest
You can’t perform that action at this time.
0 commit comments