lint/.github/workflows/fix_docker.yml
2023-04-11 09:34:26 -04:00

27 lines
1 KiB
YAML

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