Update names and Docker Hub repository

This commit is contained in:
Seth Simmons
2021-03-22 16:13:44 -04:00
parent 81f692a683
commit 2d1e1f7bb8

View File

@@ -1,4 +1,4 @@
name: "Update Image" name: "Update Image and Push to Github Packages and Docker Hub"
on: on:
schedule: schedule:
- cron: "0 12 * * *" # Run every day at noon. - cron: "0 12 * * *" # Run every day at noon.
@@ -12,7 +12,7 @@ jobs:
uses: "actions/checkout@v2" uses: "actions/checkout@v2"
# Get tag. # Get tag.
- name: "Get Tag" - name: "Get Monero Release Tag"
id: get_tag id: get_tag
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)"
@@ -32,6 +32,6 @@ jobs:
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
repository: sethsimmons/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 add_git_labels: true