Compare commits

...

2 commits

Author SHA1 Message Date
e844c61ece
Merge pull request #40 from lexisother/master
Mirror the Docker image to GitHub
2021-04-26 14:42:58 +02:00
Lexi Sother
2c674cef95
Mirror the Docker image to GitHub 2021-04-26 12:29:10 +00:00

View file

@ -59,3 +59,13 @@ jobs:
docker buildx build \
--tag keanucode/travbot-v3:latest \
--platform linux/amd64,linux/arm/v7,linux/arm64 --push .
- name: Sync From Docker Hub to GitHub
uses: onichandame/docker-registry-sync-action@master
with:
source_repository: docker.io/keanucode/travbot-v3:latest
source_username: ${{ secrets.DOCKER_USERNAME }}
source_password: ${{ secrets.DOCKER_PASSWORD }}
target_repository: docker.pkg.github.com/keanuplayz/travbot-v3/travbot-v3:latest
target_username: ${{ secrets.GH_USERNAME }}
target_password: ${{ secrets.GH_TOKEN }}