fix: update image name in build-deploy workflow and remove obsolete build-publish workflow
All checks were successful
Build and Push Quartz Wiki / build-and-push (push) Successful in 45s
All checks were successful
Build and Push Quartz Wiki / build-and-push (push) Successful in 45s
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: "gitea.vorpax.dev"
|
REGISTRY: "gitea.vorpax.dev"
|
||||||
IMAGE_NAME: "vorpax/quartz-wiki"
|
IMAGE_NAME: "vorpax/wiki"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
name: Build and Push Quartz
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: "gitea.vorpax.dev"
|
|
||||||
IMAGE_NAME: "vorpax/wiki"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ gitea.actor }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and Push
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
Reference in New Issue
Block a user