Skip to content

Commit

Permalink
feat: '1123123123'
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Apr 22, 2024
1 parent bf6f809 commit ac3f2ab
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/github-tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,16 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: name/app
images: ghcr.io/junjiequan/github-action-test
tags: |
type=raw,value={{date 'YYYYMM'}}
# - name: Generate Date Tag
# id: date_tag
# run: echo "NOW=$(date +'%Y%m')" >> $GITHUB_ENV
type=raw,value=stable
type=raw,value=${{ steps.tag_version.outputs.new_tag }}
type=semver,pattern={{version}}
type=raw,value={{date 'YYYY-MM'}}
- 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:r_${{ steps.meta.outputs.tags }}
ghcr.io/junjiequan/github-action-test:${{ steps.tag_version.outputs.new_tag }}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit ac3f2ab

Please sign in to comment.