Added workflow for docker build
This commit is contained in:
parent
87e74c5814
commit
966cb698f8
24
.gitea/workflows/dockerbuild.yaml
Normal file
24
.gitea/workflows/dockerbuild.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
name: dockerbuild
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dockerbuild:
|
||||||
|
name: Build docker image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: dev.noccylabs.info/noccylabs/alpine-php83-aio:latest
|
Loading…
Reference in New Issue
Block a user