ci: run gitea workflow on node runner
This commit is contained in:
@@ -4,20 +4,13 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
container:
|
|
||||||
image: node:20-bookworm
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-image:
|
docker-image:
|
||||||
runs-on: ubuntu
|
runs-on: node
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
- name: Install Docker CLI
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y docker.io curl
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -67,7 +60,7 @@ jobs:
|
|||||||
-d "{\"image\":\"${IMAGE}\",\"tag\":\"${{ github.ref_name }}\",\"repo\":\"${{ github.repository }}\"}"
|
-d "{\"image\":\"${IMAGE}\",\"tag\":\"${{ github.ref_name }}\",\"repo\":\"${{ github.repository }}\"}"
|
||||||
|
|
||||||
deploy-fallback-log:
|
deploy-fallback-log:
|
||||||
runs-on: ubuntu
|
runs-on: node
|
||||||
needs: docker-image
|
needs: docker-image
|
||||||
if: failure()
|
if: failure()
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user