Create base docker image

This commit is contained in:
linguist
2020-12-30 21:20:27 +01:00
parent b5720b6990
commit e9c2a36853
4 changed files with 9 additions and 34 deletions

View File

@@ -35,20 +35,3 @@ jobs:
config-file: ./.github/config/codeql.yml
- name: Analyze code
uses: github/codeql-action/analyze@v1
publish:
name: Publish to GitHub Packages
runs-on: ubuntu-latest
needs: [ build, analyze ]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
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