From 0912ee24b961bed9a69bb13c05e43ca086c418d6 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 29 Sep 2023 16:28:55 +0200 Subject: [PATCH] added test mode --- .github/workflows/release.yml | 8 +++++--- Dockerfile | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12483e3..a1c98ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,8 @@ jobs: tag: if: github.event_name == 'push' && needs.test-versions.outputs.version != '' - needs: [test-image, test-versions] + # needs: [test-image, test-versions] + needs: [test-versions] runs-on: ubuntu-latest permissions: contents: write @@ -71,12 +72,13 @@ jobs: env: VERSION: ${{ needs.test-versions.outputs.version }} GH_TOKEN: ${{ github.token }} + publish: runs-on: ubuntu-latest permissions: packages: write - needs: [tag, test-versions] - if: needs.tag.outputs.tagExists == 'false' + # !Undo this + needs: [test-versions] steps: - uses: actions/checkout@v3 - name: Build image diff --git a/Dockerfile b/Dockerfile index 52ee472..31e44ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN yarn run build FROM node:18-slim +LABEL mantainer="Javier Bullrich " + COPY --from=Builder /action/dist /action ENTRYPOINT ["node", "/action/index.js"]