Create fix_docker.yml

This commit is contained in:
Brett Logan 2023-04-11 09:34:26 -04:00 committed by GitHub
parent 45fc0d8828
commit 3fdf87bda5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/workflows/fix_docker.yml vendored Normal file
View file

@ -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