Skip to content

Commit e54523c

Browse files
committed
move to github
1 parent 77e31f0 commit e54523c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/docker.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ on:
1010
jobs:
1111
release-docker:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
packages: write
1315
steps:
1416
- uses: actions/checkout@v2
1517
- name: Docker meta
1618
uses: docker/metadata-action@v4
1719
id: meta
1820
with:
19-
images: flared/mcpdoc
21+
images: ghcr.io/flared/docker-mcpdoc
2022
- uses: docker/login-action@v2
2123
if: github.event_name != 'pull_request'
2224
with:
23-
username: ${{ secrets.DOCKERHUB_USERNAME }}
24-
password: ${{ secrets.DOCKERHUB_TOKEN }}
25+
registry: ghcr.io
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
2528
- name: Set up QEMU
2629
uses: docker/setup-qemu-action@v2
2730
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)