Skip to content

Commit

Permalink
修改流程
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Smilin committed Apr 17, 2024
1 parent 572d9f0 commit 610f35a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,22 @@ jobs:
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "tag=$latest_tag" >> "$GITHUB_OUTPUT"
echo "💡 Latest tag: $latest_tag"
docker-QEMU:
docker-login:
runs-on: ubuntu-latest
needs: checkout
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
docker-login:
runs-on: ubuntu-latest
needs: checkout
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-build:
runs-on: ubuntu-latest
needs: tag
needs: [tag, docker-login]
steps:
- name: Build and push tag
# env:
Expand Down

0 comments on commit 610f35a

Please sign in to comment.