Skip to content

Commit

Permalink
ci: tagging (#1523)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 25, 2023
1 parent 75cf386 commit 1f3e60c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ github.event.number }}
target: ${{ github.sha }}
tags: test
8 changes: 0 additions & 8 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ jobs:
triggers: ('${{ matrix.triggers }}/')
build_context: ${{ matrix.build_context }}

- name: Tag Docker Images
uses: shrink/actions-docker-registry-tag@v3
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ github.sha }}
tags: ${{ github.event.number }}

# https://github.com/bcgov-nr/action-deployer-openshift
deploys:
name: Deploys
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ RUN caddy fmt --overwrite /etc/caddy/Caddyfile

# Ports, health check and non-root user
EXPOSE 3000 3001
HEALTHCHECK --interval=30s --timeout=3s CMD curl -f http://localhost/:3001/health
HEALTHCHECK CMD curl -f http://localhost/:3001/health
USER 1001

0 comments on commit 1f3e60c

Please sign in to comment.