[gha] publish containers to docker hub

This commit is contained in:
R4SAS 2021-06-17 20:07:10 +03:00 committed by GitHub
parent f56f75bb3f
commit a97d2bbb63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,12 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
@ -33,4 +39,6 @@ jobs:
file: ./contrib/docker/Dockerfile
platforms: linux/amd64,linux/386
push: true
tags: ghcr.io/purplei2p/i2pd:latest
tags: |
purplei2p/i2pd:latest
ghcr.io/purplei2p/i2pd:latest