Skip to content

Commit

Permalink
chore: remove sub docker package when release
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Nov 15, 2021
1 parent 65fd40f commit bc415d5
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,13 @@ jobs:
run: echo IMAGE_TAG=${IMAGE_TAG},latest >> ${GITHUB_ENV}
- name: Environment Printer
uses: managedkaos/print-env@v1.0

- name: Build & Publish to Github Package
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ${{ github.repository }}/${{ env.DOCKER_REPO_NAME }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
snapshot: false
tags: "${{ env.IMAGE_TAG }}"

- name: Build & Publish to Github Container Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ${{ github.actor }}/${{ env.DOCKER_REPO_NAME }}
username: ${{ github.actor }}
password: ${{ secrets.GHCR_IO_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
snapshot: false
tags: "${{ env.IMAGE_TAG }}"
Expand Down

0 comments on commit bc415d5

Please sign in to comment.