This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
chore(deps): update actions/setup-node digest to d86ebcd #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: pull_request | |
jobs: | |
setup: | |
uses: janus-idp/.github/.github/workflows/setup.yaml@main | |
with: | |
default_tag_version: "latest" | |
build_platforms: "linux/amd64,linux/arm64" | |
build-images: | |
runs-on: ubuntu-latest | |
needs: ["setup"] | |
strategy: | |
matrix: | |
platform: ${{ fromJson(needs.setup.outputs.dist_matrix) }} | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5 # pin@v3 | |
- uses: actions/setup-node@7da2a7eb0c8ca16886c2abd4199f2cdda6f64dd4 #pin@v3.5.1 | |
with: | |
node-version: 18 | |
- name: Create Backstage application | |
run: | | |
echo backstage | npx @backstage/create-app | |
cp ./Dockerfile ./.dockerignore ./backstage/ | |
- name: Build images | |
uses: janus-idp/.github/.github/actions/build-and-push@main | |
with: | |
platform: ${{ matrix.platform }} | |
image_tag: ${{ needs.setup.outputs.image_tag }} | |
context: backstage | |
push: false |