更新 .github/workflows/buidl_and_push_ghcr.yml
Some checks failed
Build Docker Image / build (push) Failing after 4s
Some checks failed
Build Docker Image / build (push) Failing after 4s
This commit is contained in:
8
.github/workflows/buidl_and_push_ghcr.yml
vendored
8
.github/workflows/buidl_and_push_ghcr.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user