fix: updated docker build workflow
This commit is contained in:
@@ -21,9 +21,6 @@ jobs:
|
||||
- name: Build files
|
||||
run: npm run build
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
@@ -31,11 +28,14 @@ jobs:
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ghoshritesh12
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GHCR_DOCKER_PWD }}
|
||||
|
||||
- name: Build and push docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ github.event.release.tag_name }}
|
||||
tags: |
|
||||
ghcr.io/ghoshritesh12/aniwatch:${{ github.event.release.tag_name }}
|
||||
ghcr.io/ghoshritesh12/aniwatch:latest
|
||||
|
||||
Reference in New Issue
Block a user