oliverdavies.uk/.github/workflows/main.yml

28 lines
484 B
YAML
Raw Normal View History

name: Main
on:
push:
branches:
- main
2021-07-15 23:47:35 +00:00
env:
DOCKER_TAG: ${{ github.sha }}
jobs:
2021-07-15 23:47:35 +00:00
build-and-push-images:
runs-on: ubuntu-latest
steps:
2021-07-15 23:47:35 +00:00
- uses: actions/checkout@v2
2021-07-15 23:47:35 +00:00
- name: Login to the Docker registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
2021-07-15 23:47:35 +00:00
- run: make build-images
- run: make push-images
# vim: sw=2 ts=2