更新 .github/workflows/buidl_and_push_ghcr.yml
Some checks failed
Build Docker Image / build (push) Failing after 4s

This commit is contained in:
2025-12-18 12:52:11 +00:00
parent 762961f4ce
commit 4cbee19daf

View File

@@ -13,22 +13,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker:dind
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata
id: meta
run: |
echo "date=$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT
echo "sha_short=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_OUTPUT
echo "sha_short=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_OUTPUT
- name: Build Docker image
run: |