diff --git a/.github/workflows/fix_docker.yml b/.github/workflows/fix_docker.yml new file mode 100644 index 00000000..e48c1565 --- /dev/null +++ b/.github/workflows/fix_docker.yml @@ -0,0 +1,27 @@ +name: Fix Dockerhub +on: + workflow_dispatch: +jobs: + fix: + runs-on: ubuntu-latest + steps: + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Reload Docker + run: | + docker pull github/super-linter:v.5.0.0 + docker pull github/super-linter:slim-v5.0.0 + docker pull github/super-linter:v4.10.1 + docker pull github/super-linter:slim-v4.10.1 + docker tag github/super-linter:v.5.0.0 github/super-linter:v.5 + docker tag github/super-linter:slim-v5.0.0 github/super-linter:slim-v5 + docker tag github/super-linter:v4.10.1 github/super-linter:v4 + docker tag github/super-linter:slim-v4.10.1 github/super-linter:slim-v4 + docker push github/super-linter:v.5 + docker push github/super-linter:slim-v5 + docker push github/super-linter:v4 + docker push github/super-linter:slim-v4 +