Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 7, 2023
1 parent 0d92722 commit c4f7c43
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,16 @@ jobs:
- name: Build and push image:tags
uses: docker/build-push-action@v3
if: steps.create_tag.outputs.successful
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/rust-cn-document-for-docker:${{steps.changelog.outputs.version}}

- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
# Create Docker Image in Github
# - name: Login to the GitHub Container Registry
# uses: docker/login-action@v2
Expand All @@ -290,10 +293,6 @@ jobs:
# platforms: linux/amd64,linux/arm64
# tags: ghcr.io/jaywcjlove/rust-cn-document-for-docker:${{steps.changelog.outputs.version}}

- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
# # Create Docker Image
# - name: Docker login
# run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit c4f7c43

Please sign in to comment.