fix: test container
Some checks failed
Docker Image CI / build (push) Failing after 7s

This commit is contained in:
2025-11-01 15:25:26 +00:00
parent 4d2730a079
commit db6e585438

View File

@@ -1,21 +1,26 @@
name: Docker Image CI name: Docker Image CI
on: on:
push: push:
tags: branches:
- '*' - main
jobs: jobs:
build: build:
runs-on: gitea-official-runner runs-on: gitea-official-runner
container:
image: harbor.merlin.xin/mirrors/docker.io/library/node:22-alpine
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4
- name: docker login
env: env:
QWE: ${{github.sha}} HARBOR_USERNAME: ${{ secrets.HARBOR_ROBOT }}
QWRR: ${{github.repository}} HARBOR_PASSWORD: ${{ secrets.HARBOR_ROBOT_SECRET }}
QWEWQ: $GITHUB_REF_NAME HARBOR_URL: ${{ vars.HARBOR_URL }}
run: docker login ${HARBOR_URL} -u ${HARBOR_USERNAME} -p ${HARBOR_PASSWORD}
run: | - name: Build and push Docker images
echo $GITHUB_SHA $QWE env:
echo $GITHUB_REPOSITORY $QWRR HARBOR_URL: ${{ vars.HARBOR_URL }}
echo $QWEWQ TAG: ${{ github.sha }}
echo ${{github.ref.name}} ${{github.repository}} ${{github.sha}} REPOSITORY: ${{ github.repository }}
run: echo $GITHUB_REPOSITORY