Add Docker Hub image push to Github CI

This commit is contained in:
Seth Simmons
2021-03-22 16:04:01 -04:00
parent c242f96628
commit 81f692a683

View File

@@ -17,7 +17,7 @@ jobs:
run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)"
# Build and push the repo.
- name: "Build and Push"
- name: "Build and Push Docker images to Github Packages"
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
@@ -25,4 +25,13 @@ jobs:
registry: docker.pkg.github.com
repository: ${{ github.repository }}/simple-monerod
tags: latest, ${{ steps.get_tag.outputs.tag }}
add_git_labels: true
- name: "Build and push Docker images to Docker Hub"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: sethsimmons/simple-monerod
tags: latest, ${{ steps.get_tag.outputs.tag }}
add_git_labels: true