Added push to docker hub

This commit is contained in:
WoLfulus
2020-10-01 14:44:04 -03:00
parent 70f573d593
commit 03b9327565
2 changed files with 20 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build
- name: Build GitHub Container Registry
uses: ./.github/actions/build-images
with:
registry: "ghcr.io"
@@ -20,3 +20,12 @@ jobs:
password: "${{ secrets.REGISTRY_PASSWORD }}"
version: "${{ github.ref }}"
push: "true"
- name: Build Docker Hub
uses: ./.github/actions/build-images
with:
repository: "${{ github.repository }}"
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_PASSWORD }}"
version: "${{ github.ref }}"
push: "true"