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 0912ee2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 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,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
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 0912ee2

Please sign in to comment.