v1.3.2: Fix GitHub Actions build

This commit is contained in:
2021-03-06 15:15:49 +00:00
parent ec9e6ca83c
commit 46177264a1

View File

@@ -1,7 +1,7 @@
name: Build
on:
push:
branches: main
tags: *
jobs:
build:
@@ -14,8 +14,8 @@ jobs:
- name: Build image for GitHub Package Registry
run: |
docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/ipilot/ipilot:latest
docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/ipilot/ipilot:$GITHUB_SHA
docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/ipilot/ipilot:$GITHUB_REF
- name: Push image to GitHub Package Registry
run: |
docker push docker.pkg.github.com/luketainton/ipilot/ipilot:latest
docker push docker.pkg.github.com/luketainton/ipilot/ipilot:$GITHUB_SHA
docker push docker.pkg.github.com/luketainton/ipilot/ipilot:$GITHUB_REF