Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
env:
FORCE_COLOR: 0
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0

- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
env:
FORCE_COLOR: 0
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
REGISTRY: registry.digitalocean.com
NAME: ghost/gscan
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Get version
run: echo "IMAGE_VERSION=$(git describe --tags)" >> $GITHUB_ENV

- name: Publish to DigitalOcean Registry
uses: elgohr/Publish-Docker-Github-Action@v5
uses: elgohr/Publish-Docker-Github-Action@1c2f28ccd9476e8a936ac9a1f287405504c93304 # v5
with:
registry: ${{ env.REGISTRY }}
name: ${{ env.NAME }}
Expand All @@ -26,7 +26,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ env.IMAGE_VERSION }}"

- uses: matootie/dokube@v1.4.1
- uses: matootie/dokube@d928bf89877df4f5170c2d56cc07a70cbd2c4c8b # v1.4.1
with:
personalAccessToken: ${{ secrets.DIGITALOCEAN_TOKEN }}
clusterName: ${{ secrets.CLUSTER_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Base Node with Alpine ----
FROM node:24.11.1-alpine3.21 AS base
FROM node:24.11.1-alpine3.21@sha256:b8f7c9056af700568c1ce76173f1c93743fb64ca1343e18cdf3a6ded8985ad3d AS base
# Set working directory in the container
WORKDIR /app
# Copy package.json and yarn.lock files to the workspace
Expand All @@ -16,7 +16,7 @@ RUN cp -R node_modules prod_node_modules
RUN yarn install --ignore-scripts --frozen-lockfile

# ---- Release ----
FROM node:24.11.1-alpine3.21 AS release
FROM node:24.11.1-alpine3.21@sha256:b8f7c9056af700568c1ce76173f1c93743fb64ca1343e18cdf3a6ded8985ad3d AS release
# Set working directory
WORKDIR /app
# Copy production node_modules
Expand Down