Rename main.yml to ci.yml

This commit is contained in:
Oliver Davies 2021-07-27 09:00:00 +01:00
parent fa06b16410
commit 7a0822da2e

27
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: CI
on:
push:
branches:
- main
env:
DOCKER_TAG: ${{ github.sha }}
jobs:
build-and-push-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
- name: Login to the Docker registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 # v1.10.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: make build-images
- run: make push-images
# vim: sw=2 ts=2