diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12483e3..db8352d 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,14 @@ 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' + # !TEST - THIS SHOULD BE CHANGE TO == + if: needs.tag.outputs.tagExists != 'false' 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"]