Files
p2pool-docker/.github/workflows/update-image.yml
Mike Keller 5a9165355b Cleanup Automated Container Rebuild (#19)
* Cleaning up items created during testing of the automated rebuild workflow.
2021-02-23 12:32:00 -08:00

25 lines
694 B
YAML

name: "Update Image"
on:
schedule:
- cron: "0 12 * * *" # Run every day at noon.
jobs:
rebuild-container:
name: "Rebuild Container"
runs-on: ubuntu-latest
steps:
# Checkout the repo.
- name: "Checkout"
uses: "actions/checkout@v2"
# Build and push the repo.
- name: "Build and Push"
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: ${{ github.repository }}/simple-monerod
tags: latest
tag_with_ref: true
add_git_labels: true
tag_with_sha: true