Skip to content

Test-fork

Test-fork #47

Workflow file for this run

name: Push
on:
push:
branches:
- main
pull_request:
permissions:
packages: write
jobs:
build:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.build.outputs.version }}
steps:
- uses: actions/checkout@v4
- id: context
uses: ./.github/actions/context
- uses: ./.github/actions/build
id: build
with:
push: ${{ steps.context.outputs.is_fork == 'false' }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
node_env: production
latest: ${{ steps.context.outputs.is_release_master }}
download:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.version }}
path: /tmp/
- name: Load image
shell: bash
run: |
docker load < /tmp/${{ needs.build.outputs.version }}
docker image ls