mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
[gha] publish containers to docker hub
This commit is contained in:
parent
f56f75bb3f
commit
a97d2bbb63
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
@ -20,6 +20,12 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- 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
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
@ -33,4 +39,6 @@ jobs:
|
|||||||
file: ./contrib/docker/Dockerfile
|
file: ./contrib/docker/Dockerfile
|
||||||
platforms: linux/amd64,linux/386
|
platforms: linux/amd64,linux/386
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/purplei2p/i2pd:latest
|
tags: |
|
||||||
|
purplei2p/i2pd:latest
|
||||||
|
ghcr.io/purplei2p/i2pd:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user