aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-19 23:01:55 +0530
committerRitesh Ghosh <[email protected]>2023-08-19 23:01:55 +0530
commitddd77f42aeae90133caa585051c398bf5b9fb1b0 (patch)
tree69dcf27040c648f2a94a6e506f15650052dcac22 /.github
parentaae31118b00d13ea456be6f50f78f52b32965f91 (diff)
downloadaniwatch-api-ddd77f42aeae90133caa585051c398bf5b9fb1b0.tar.xz
aniwatch-api-ddd77f42aeae90133caa585051c398bf5b9fb1b0.zip
fix: updated docker build workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-build.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index 3379e73..369d097 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -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