Skip to content

chore(deps): update node.js to ae35d80 #121

chore(deps): update node.js to ae35d80

chore(deps): update node.js to ae35d80 #121

Workflow file for this run

name: Build tests
on:
pull_request:
types: [opened, reopened, edited]
branches:
- main
paths:
- Dockerfile
- entrypoint.js
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
-
name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
with:
driver-opts: |
network=host
- name: Gets GHOST_VERSION
continue-on-error: false
id: versions
run: |
echo "GHOST_VERSION=$(curl -s https://api.github.com/repos/tryghost/ghost/releases/latest | jq '.name' | sed 's/\"//g')" >> $GITHUB_OUTPUT
- name: Show GHOST_VERSION
continue-on-error: true
run: echo ${{ steps.versions.outputs.GHOST_VERSION }}
-
name: Build
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
id: build-pr
with:
context: .
platforms: linux/amd64
cache-from: type=gha,mode=max
cache-to: type=gha,mode=max
push: false
build-args: GHOST_VERSION=${{ steps.versions.outputs.GHOST_VERSION }}