forked from philorg/treetrail-frontend
CI: push to repository
This commit is contained in:
parent
882109eb82
commit
16a99ba875
1 changed files with 11 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: container
|
runs-on: container
|
||||||
steps:
|
steps:
|
||||||
|
- run: echo "Will push image to: ${{ vars.REPOSITORY }}"
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
|
@ -23,9 +26,15 @@ jobs:
|
||||||
run: ng build
|
run: ng build
|
||||||
|
|
||||||
- name: Build container
|
- name: Build container
|
||||||
uses: actions/buildah-build@v1
|
uses: action
|
||||||
with:
|
with:
|
||||||
image: treetrail-frontend
|
image: treetrail-frontend
|
||||||
#tags: foo # v1 ${{ github.sha }}
|
#tags: foo # v1 ${{ github.sha }}
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Containerfile
|
./Containerfile
|
||||||
|
|
||||||
|
- uses: actions/push-to-registry@v2
|
||||||
|
with:
|
||||||
|
registry: "docker://${{ vars.REPOSITORY }}"
|
||||||
|
image: treetrail-frontend
|
||||||
|
tags: latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue