Test WF
This commit is contained in:
27
.gitea/workflows/build.yaml
Normal file
27
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Docker Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
paths-ignore:
|
||||||
|
- '**/README.md'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker-build-and-publish-arm64:
|
||||||
|
runs-on: ubuntu-arm64
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Docker Build
|
||||||
|
run: docker build \
|
||||||
|
--tag ${{ vars.DOCKERHUB_REPO }}:2.10.0 \
|
||||||
|
--tag ${{ vars.DOCKERHUB_REPO }}:latest \
|
||||||
|
--push .
|
||||||
@@ -2,10 +2,6 @@ name: Docker Build and Publish
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
paths-ignore:
|
|
||||||
- '**/README.md'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-build-and-publish:
|
docker-build-and-publish:
|
||||||
|
|||||||
Reference in New Issue
Block a user