Skip to content

Commit

Permalink
ggggg
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Apr 10, 2024
1 parent a0df0a7 commit 4623baf
Show file tree
Hide file tree
Showing 3 changed files with 246 additions and 174 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 }}
Loading

0 comments on commit 4623baf

Please sign in to comment.