From 3fdf87bda5fe2b2ac6bdb621db43c88e3a59dddf Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Tue, 11 Apr 2023 09:34:26 -0400 Subject: [PATCH] Create fix_docker.yml --- .github/workflows/fix_docker.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/fix_docker.yml 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 +