Skip to content

Commit

Permalink
added test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Sep 29, 2023
1 parent c6dc3c8 commit 894703a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN yarn run build

FROM node:18-slim

LABEL mantainer="Javier Bullrich <[email protected]>"

COPY --from=Builder /action/dist /action

ENTRYPOINT ["node", "/action/index.js"]

0 comments on commit 894703a

Please sign in to comment.