Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chan-mai committed May 5, 2024
1 parent 3961879 commit d3e132b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image
run: |
docker build --tag ghcr.io/$GITHUB_ACTOR/misskey:latest \
--tag ghcr.io/$GITHUB_ACTOR/misskey:$(echo $GITHUB_SHA | head -c7) \
docker build --tag ghcr.io/${{ github.repository_owner }}/misskey:latest \
--tag ghcr.io/${{ github.repository_owner }}/misskey:$(echo $GITHUB_SHA | head -c7) \
.
- name: Push Docker Image
run: |
docker push ghcr.io/$GITHUB_ACTOR/misskey:latest
docker push ghcr.io/$GITHUB_ACTOR/misskey:$(echo $GITHUB_SHA | head -c7)
docker push ghcr.io/${{ github.repository_owner }}/misskey:latest
docker push ghcr.io/${{ github.repository_owner }}/misskey:$(echo $GITHUB_SHA | head -c7)

0 comments on commit d3e132b

Please sign in to comment.