Browse Source

[gha] publish containers to docker hub

pull/1677/head
R4SAS 3 years ago committed by GitHub
parent
commit
a97d2bbb63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/docker.yml

10
.github/workflows/docker.yml

@ -20,6 +20,12 @@ jobs: @@ -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: @@ -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

Loading…
Cancel
Save