Skip to content

Commit 1c8833e

Browse files
authored
chore: retag latest to 1.13.2 (#4170)
1 parent 2869980 commit 1c8833e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release-fix.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

0 commit comments

Comments
 (0)