v1.3.2: Fix GitHub Actions build
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
tags: *
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -14,8 +14,8 @@ jobs:
|
|||||||
- name: Build image for GitHub Package Registry
|
- name: Build image for GitHub Package Registry
|
||||||
run: |
|
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: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
|
- name: Push image to GitHub Package Registry
|
||||||
run: |
|
run: |
|
||||||
docker push docker.pkg.github.com/luketainton/ipilot/ipilot:latest
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user