fix: updated docker build workflow

This commit is contained in:
Ritesh Ghosh
2023-08-19 23:01:55 +05:30
parent aae31118b0
commit ddd77f42ae
+5 -5
View File
@@ -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