Skip to content

Commit

Permalink
Try to fix the grafana/k6 Docker image label from v0.40.0 to 0.40.0
Browse files Browse the repository at this point in the history
This way it will match with previous releases. It was broken in #2591 and the actual CI fix will happen in a separate bracnh and a proper PR. This is just a single commit we don't intend to merge in master, just to use the CI credentials to fix the issue for v0.40.0.
  • Loading branch information
na-- committed Sep 9, 2022
1 parent dcbe2f9 commit c90346a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/fixup-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Fixup k6 v0.40.0 Docker image labels
on:
push:
branches:
- fixup-docker-images

defaults:
run:
shell: bash

jobs:
re-publish-docker:
runs-on: ubuntu-latest
steps:
- name: Log into Docker Hub
run: |
# Log into Docker Hub Registry
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
- name: Pull image, re-tag it and push again to Docker Hub
run: |
set -x
docker pull "grafana/k6:v0.40.0"
docker tag "grafana/k6:v0.40.0" "grafana/k6:0.40.0"
docker push "grafana/k6:0.40.0"

0 comments on commit c90346a

Please sign in to comment.