Skip to content

Commit 07f3788

Browse files
committed
fix docker action.
1 parent b3fb10b commit 07f3788

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/docker.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,24 @@ jobs:
77
docker:
88
runs-on: ubuntu-latest
99
steps:
10-
-
11-
name: Set up QEMU
10+
- name: checkout
11+
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- name: recovery tag information
15+
run: git fetch origin --depth=1 +refs/tags/*:refs/tags/*
16+
- name: set up qemu
1217
uses: docker/setup-qemu-action@v3
13-
-
14-
name: Set up Docker Buildx
18+
- name: set up docker buildx
1519
uses: docker/setup-buildx-action@v3
16-
-
17-
name: Login to Docker Hub
20+
- name: login to docker hub
1821
uses: docker/login-action@v3
1922
with:
2023
username: ${{ secrets.DOCKERHUB_USERNAME }}
2124
password: ${{ secrets.DOCKERHUB_TOKEN }}
22-
-
23-
name: Build and push
25+
- name: build and push
2426
uses: docker/build-push-action@v6
2527
with:
28+
context: .
2629
push: true
2730
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tnsp:latest

0 commit comments

Comments
 (0)