Skip to content

Update test script and workflow #67

Update test script and workflow

Update test script and workflow #67

Workflow file for this run

name: test
on:
push:
branches:
- 'main'
- 'v*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Test runs
id: meta
uses: ./
- name: Action output
run: |
echo "${{ steps.meta.outputs.bake-file }}"
- name: Action env
run: |
env | grep GITHUB_
env | grep RUNNER_
- name: Debug print bake file
run: |
docker buildx bake -f "${{ steps.meta.outputs.bake-file }}" --print github-metadata-action
- name: Build test
working-directory: example
env:
BUILDX_BAKE_ENTITLEMENTS_FS: "0"
run: |
docker buildx bake -f "${{ steps.meta.outputs.bake-file }}" -f docker-bake.hcl