Skip to content

build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0 (#249) #370

build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0 (#249)

build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0 (#249) #370

Workflow file for this run

name: Test Docker image
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4.2.2
- name: Build and test Docker image
run: |
echo "Testing Node.js ${{ matrix.node-version }}"
# Build and test the Docker image
IMAGE_PATH="${{ matrix.node-version }}"
VERSIONS=$(docker run -i $(docker build -q ${IMAGE_PATH}) /bin/sh -c "node --version && npm --version && git --version")
echo "$VERSIONS"
# Check Node.js version
if ! echo "$VERSIONS" | grep -q "v${{ matrix.node-version }}"; then
echo "::error::Expected Node.js v${{ matrix.node-version }} but got different version"
exit 1
fi
auto-merge:
runs-on: ubuntu-latest
needs: build
permissions:
pull-requests: write
contents: write
steps:
- name: Automatically merge dependabot upgrades
uses: fastify/github-action-merge-dependabot@v3.11.0
with:
target: minor