Skip to content

Commit

Permalink
Merge pull request #12 from nsslums/update-container-registry
Browse files Browse the repository at this point in the history
Update container registry
  • Loading branch information
irumaru authored Jun 24, 2024
2 parents 8554ada + df90125 commit 467b3a0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE: "gitlab-registry.maruru.me/nsslums/cit-bot:${{ github.sha }}"
REGISTRY: ghcr.io
IMAGE: "${{ github.repository }}:${{ github.sha }}"
# このリポジトリに対する書き込み権限を付与
permissions:
contents: write
Expand All @@ -21,9 +22,9 @@ jobs:
- name: Login GitHub Packages
uses: docker/login-action@v3
with:
registry: gitlab-registry.maruru.me
username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_TOKEN }}
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down

0 comments on commit 467b3a0

Please sign in to comment.