Skip to content

Merge pull request #2 from edward3h/renovate/configure #17

Merge pull request #2 from edward3h/renovate/configure

Merge pull request #2 from edward3h/renovate/configure #17

Workflow file for this run

name: build and push docker image
on:
push:
release:
types:
- published
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup buildx
uses: docker/setup-buildx-action@v1
- name: docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
- name: login GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}