Files
metrics/.github/workflows/image.yml
Simon Lecoq b4d0e85148 Mocked tests and remove ncc compilation (#32)
* Mocked tests and remove ncc compilation
* Update workflow.yml
* Update Dockerfile
2020-12-30 00:49:01 +01:00

21 lines
549 B
YAML

name: Publish Docker image
on:
release:
types: [ published ]
jobs:
publish:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Publish image to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: lowlighter/metrics/metrics
tag_with_ref: true