Skip to content

Commit d545ac5

Browse files
author
William Yang
committed
fix: simplify docker workflow, use hardcoded image name
1 parent f2da86f commit d545ac5

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
REGISTRY: ghcr.io
12-
IMAGE_NAME: ${{ github.repository }}
12+
IMAGE_NAME: bootcs-cn/bootcs-cli
1313

1414
jobs:
1515
build:
@@ -55,17 +55,3 @@ jobs:
5555
labels: ${{ steps.meta.outputs.labels }}
5656
cache-from: type=gha
5757
cache-to: type=gha,mode=max
58-
59-
test:
60-
runs-on: ubuntu-latest
61-
needs: build
62-
if: github.event_name != 'pull_request'
63-
64-
steps:
65-
- name: Checkout repository
66-
uses: actions/checkout@v4
67-
68-
- name: Test Docker image
69-
run: |
70-
docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest --version
71-
echo "Docker image test passed!"

0 commit comments

Comments
 (0)