Update .forgejo/workflows/build.yml
This commit is contained in:
parent
8ed1b9a778
commit
21865b2684
1 changed files with 4 additions and 1 deletions
|
@ -47,6 +47,7 @@ jobs:
|
||||||
github-server-url: https://git.h2-invent.com
|
github-server-url: https://git.h2-invent.com
|
||||||
repository: Public-System-Design/alpine-php8-webserver
|
repository: Public-System-Design/alpine-php8-webserver
|
||||||
ref: main
|
ref: main
|
||||||
|
path: alpine-php8-webserver
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
@ -58,11 +59,13 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
context: ./alpine-php8-webserver
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.h2-invent.com/public-system-design/alpine-php8-webserver:${{ needs.release.outputs.version }}
|
git.h2-invent.com/public-system-design/alpine-php8-webserver:${{ needs.release.outputs.version }}
|
||||||
git.h2-invent.com/public-system-design/alpine-php8-webserver:latest
|
git.h2-invent.com/public-system-design/alpine-php8-webserver:latest
|
||||||
|
build-args: |
|
||||||
|
VERSION=${{ needs.release.outputs.version }}
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
runs-on: host
|
runs-on: host
|
||||||
|
|
Loading…
Add table
Reference in a new issue