mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Merge pull request #40 from lexisother/master
Mirror the Docker image to GitHub
This commit is contained in:
commit
e844c61ece
1 changed files with 10 additions and 0 deletions
10
.github/workflows/image.yml
vendored
10
.github/workflows/image.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue