Skip to content

Commit 1315af2

Browse files
committed
chore: update workflows config.
1 parent 86a22ba commit 1315af2

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -130,29 +130,29 @@ jobs:
130130

131131
# Create Docker Image in Github
132132

133-
- name: Login to the GitHub Container Registry
134-
uses: docker/login-action@v2
135-
with:
136-
registry: ghcr.io
137-
username: ${{ github.actor }}
138-
password: ${{ secrets.GITHUB_TOKEN }}
139-
140-
- name: Build and push image:latest
141-
uses: docker/build-push-action@v3
142-
with:
143-
push: true
144-
context: .
145-
platforms: linux/amd64,linux/arm64
146-
tags: ghcr.io/jaywcjlove/html-tutorial:latest
147-
148-
- name: Build and push image:tags
149-
uses: docker/build-push-action@v3
150-
if: steps.create_tag.outputs.successful
151-
with:
152-
push: true
153-
context: .
154-
platforms: linux/amd64,linux/arm64
155-
tags: ghcr.io/jaywcjlove/html-tutorial:${{steps.changelog.outputs.version}}
133+
# - name: Login to the GitHub Container Registry
134+
# uses: docker/login-action@v2
135+
# with:
136+
# registry: ghcr.io
137+
# username: ${{ github.actor }}
138+
# password: ${{ secrets.GITHUB_TOKEN }}
139+
140+
# - name: Build and push image:latest
141+
# uses: docker/build-push-action@v3
142+
# with:
143+
# push: true
144+
# context: .
145+
# platforms: linux/amd64,linux/arm64
146+
# tags: ghcr.io/jaywcjlove/html-tutorial:latest
147+
148+
# - name: Build and push image:tags
149+
# uses: docker/build-push-action@v3
150+
# if: steps.create_tag.outputs.successful
151+
# with:
152+
# push: true
153+
# context: .
154+
# platforms: linux/amd64,linux/arm64
155+
# tags: ghcr.io/jaywcjlove/html-tutorial:${{steps.changelog.outputs.version}}
156156

157157
# - name: Login to GitHub registry
158158
# run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

0 commit comments

Comments
 (0)