Skip to content

publish latest

publish latest #48

name: publish latest
on:
workflow_dispatch:
push:
branches:
- 'master'
paths-ignore:
- '.gitignore'
- '**.md'
- '**.template'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}/valhalla:latest