Skip to content

Commit

Permalink
fix release image.
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Mar 17, 2021
1 parent 0582aa9 commit 67b760f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release Image
env:
GITHUB_TOKEN: ${{ secrets.PACKAGES_RELEASE_TOKEN }}
run: |
echo ${{ secrets.PACKAGES_RELEASE_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
make release-image
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ clean:

image:
docker build \
--build-arg VERSION=$(GIT_VER) \
--tag ghcr.io/fujiwara/rin:$(GIT_VER) \
.

release-image: image
docker push ghcr.io/fujiwara/rin/$(GIT_VER)
docker push ghcr.io/fujiwara/rin:$(GIT_VER)

0 comments on commit 67b760f

Please sign in to comment.