Skip to content

chore(deps): update dependency @types/node to v20.11.28 #699

chore(deps): update dependency @types/node to v20.11.28

chore(deps): update dependency @types/node to v20.11.28 #699

Workflow file for this run

name: e2e-docker
on:
pull_request:
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/e2e-docker.yaml
push:
branches:
- main
tags:
- v*
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/e2e-docker.yaml
jobs:
build-linux-amd64:
uses: ./.github/workflows/reusable--docker-build.yaml
with:
images: ghcr.io/${{ github.repository }}/e2e
cache-image: ghcr.io/${{ github.repository }}/e2e/cache
context: tests/fixtures
platforms: linux/amd64
build-linux-arm64:
uses: ./.github/workflows/reusable--docker-build.yaml
with:
images: ghcr.io/${{ github.repository }}/e2e
cache-image: ghcr.io/${{ github.repository }}/e2e/cache
context: tests/fixtures
platforms: linux/arm64
build:
needs:
- build-linux-amd64
- build-linux-arm64
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
image-uri: ghcr.io/${{ github.repository }}/e2e@${{ steps.build.outputs.digest }}
steps:
# build the action
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm build
# run the action
- uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0
- uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
id: metadata
with:
images: ghcr.io/${{ github.repository }}/e2e
- name: docker-manifest-create-action (dry-run)
uses: ./
with:
push: false
index-annotations: ${{ steps.metadata.outputs.labels }}
sources: |
${{ needs.build-linux-amd64.outputs.image-uri }}
${{ needs.build-linux-arm64.outputs.image-uri }}
- uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: docker-manifest-create-action
id: build
uses: ./
with:
index-annotations: ${{ steps.metadata.outputs.labels }}
tags: ${{ steps.metadata.outputs.tags }}
sources: |
${{ needs.build-linux-amd64.outputs.image-uri }}
${{ needs.build-linux-arm64.outputs.image-uri }}
test-image:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker run --rm '${{ needs.build.outputs.image-uri }}'