Skip to content

Commit

Permalink
hello
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Jun 28, 2024
1 parent a9fbcb6 commit 11835b6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Create image tags
# id: meta
# uses: docker/metadata-action@v5
# with:
# images: ghcr.io/junjiequan/github-action-test
# flavor: latest=true # adds :latest tag to outputs.tags
# tags: type=sha,format=long,prefix= # adds :<sha> tag to outputs.tags
- name: Create image tags
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/junjiequan/github-action-test
flavor: latest=true # adds :latest tag to outputs.tags
tags: type=sha,format=long,prefix= # adds :<sha> tag to outputs.tags

- name: Cache node_modules
id: cache-node-modules
Expand All @@ -44,8 +44,8 @@ jobs:
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci

# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: ${{ steps.meta.outputs.tags }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 11835b6

Please sign in to comment.