mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-08 08:23:34 -05:00
Add Docker Hub image push to Github CI
This commit is contained in:
11
.github/workflows/update-image.yml
vendored
11
.github/workflows/update-image.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)"
|
run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)"
|
||||||
|
|
||||||
# Build and push the repo.
|
# Build and push the repo.
|
||||||
- name: "Build and Push"
|
- name: "Build and Push Docker images to Github Packages"
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -25,4 +25,13 @@ jobs:
|
|||||||
registry: docker.pkg.github.com
|
registry: docker.pkg.github.com
|
||||||
repository: ${{ github.repository }}/simple-monerod
|
repository: ${{ github.repository }}/simple-monerod
|
||||||
tags: latest, ${{ steps.get_tag.outputs.tag }}
|
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
|
add_git_labels: true
|
||||||
Reference in New Issue
Block a user