Fix actions maybe?
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
# paths:
|
||||||
- "content/**"
|
# - "content/**"
|
||||||
- "static/**"
|
# - "static/**"
|
||||||
- "templates/**"
|
# - "templates/**"
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
|
|
||||||
@@ -19,13 +19,13 @@ jobs:
|
|||||||
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"
|
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"
|
||||||
-
|
-
|
||||||
name: Checkout the git repo...
|
name: Checkout the git repo...
|
||||||
uses: actions/checkout@v3
|
uses: https://github.com/actions/checkout@v3
|
||||||
-
|
-
|
||||||
name: Set up docker buildx...
|
name: Set up docker buildx...
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
-
|
-
|
||||||
name: Login to gitea registry
|
name: Login to gitea registry
|
||||||
uses: docker/login-action@v3
|
uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.raer.me
|
registry: gitea.raer.me
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
@@ -51,14 +51,14 @@ jobs:
|
|||||||
run: 7z a -mx=9 ./artifact.7z build
|
run: 7z a -mx=9 ./artifact.7z build
|
||||||
-
|
-
|
||||||
name: Upload artifact...
|
name: Upload artifact...
|
||||||
uses: actions/upload-artifact@v3
|
uses: https://github.com/actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact_${{ steps.date.outputs.date }}
|
name: artifact_${{ steps.date.outputs.date }}
|
||||||
path: ./artifact.7z
|
path: ./artifact.7z
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
-
|
-
|
||||||
name: Build and push docker image to gitea package store
|
name: Build and push docker image to gitea package store
|
||||||
uses: docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user