Skip to content

Commit

Permalink
push docker image to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaZezulinsky committed Feb 17, 2022
1 parent f2e224e commit 3307b4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10})
- name: Docker
run: |
docker login docker.pkg.github.com -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
docker build . -t docker.pkg.github.com/core-coin/go-core:${{steps.version.outputs.tag}} -t docker.pkg.github.com/core-coin/go-core:latest
docker push --all-tags docker.pkg.github.com/core-coin/go-core
docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
docker build . -t ghcr.io/core-coin/go-core:${{steps.version.outputs.tag}} -t ghcr.io/core-coin/go-core:latest
docker push --all-tags ghcr.io/core-coin/go-core

0 comments on commit 3307b4a

Please sign in to comment.