fix: updated docker build workflow
This commit is contained in:
@@ -21,9 +21,6 @@ jobs:
|
|||||||
- name: Build files
|
- name: Build files
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
@@ -31,11 +28,14 @@ jobs:
|
|||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ghoshritesh12
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GHCR_DOCKER_PWD }}
|
password: ${{ secrets.GHCR_DOCKER_PWD }}
|
||||||
|
|
||||||
- name: Build and push docker image
|
- name: Build and push docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
push: true
|
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