This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
chore(deps): update actions/checkout digest to b4ffde6 #61
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@8b5e8b768746b50394015010d25e690bfab9dfbc # pin@v3 | |
- uses: actions/setup-node@869f4dd0c7f320ae834c2724d92a364de3893c24 #[email protected] | |
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 |