feat: push image to ghcr (#269)

This commit is contained in:
naison
2024-06-14 21:17:50 +08:00
committed by GitHub
parent 35f0568b09
commit a45688115c
3 changed files with 8 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- name: Push image to docker hub
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker buildx create --use
make container

View File

@@ -19,6 +19,7 @@ jobs:
- name: Push image to docker hub
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker buildx create --use
export VERSION=test
make container