From c80692ffe647f7cd2a38a10293796ba1b38fc358 Mon Sep 17 00:00:00 2001 From: sinkaroid Date: Sun, 11 Dec 2022 01:59:13 +0700 Subject: [PATCH] ci: staged changes --- .github/workflows/docker.yml | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3705da6..f1ef923 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,8 +18,10 @@ jobs: id: package-version run: echo ::set-output name=version::$(jq -r .version package.json) - name: Build the Docker image - run: docker build . --file Dockerfile --tag ghcr.io/sinkaroid/jandapress:${{ steps.package-version.outputs.version }} ghcr.io/sinkaroid/jandapress:latest + run: docker build . --file Dockerfile --tag ghcr.io/sinkaroid/jandapress:latest + - name: Tag the Docker image + run: docker tag ghcr.io/sinkaroid/jandapress:latest ghcr.io/sinkaroid/jandapress:${{ steps.package-version.outputs.version }} - name: Push the Docker image - run: docker push ghcr.io/sinkaroid/jandapress:${{ steps.package-version.outputs.version }} ghcr.io/sinkaroid/jandapress:latest + run: docker push ghcr.io/sinkaroid/jandapress:${{ steps.package-version.outputs.version }} diff --git a/package.json b/package.json index f37277b..3ac40d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jandapress", - "version": "1.0.14", + "version": "1.0.15", "description": "Experimental doujin API with gather in mind", "main": "build/src/index.js", "scripts": {