Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Apr 22, 2024
1 parent 429bf87 commit 271f4ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/github-tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,16 @@ jobs:
# type=raw,value=stable
# type=ref,event=tag

- name: Generate Date Tag
id: date_tag
run: echo "DATE_TAG=$(date +'%Y%m%d')" >> $GITHUB_ENV

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/junjiequan/github-action-test:stable, ghcr.io/junjiequan/github-action-test:${{ steps.tag_version.outputs.new_tag }}
tags: |
ghcr.io/junjiequan/github-action-test:stable
ghcr.io/junjiequan/github-action-test:${{ steps.date_tag.outputs.DATE_TAG }}
ghcr.io/junjiequan/github-action-test:${{ steps.tag_version.outputs.new_tag }}

0 comments on commit 271f4ba

Please sign in to comment.