Skip to content

Commit

Permalink
Merge pull request #9 from fortio/buildx_platforms
Browse files Browse the repository at this point in the history
record platforms
  • Loading branch information
ldemailly authored Mar 22, 2024
2 parents 0f4cf9c + d457eec commit 08c3a76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/common_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ inputs: # Seems we can't use secrets in action.yml
DOCKER_TOKEN:
description: 'Docker Hub password'
required: true
outputs:
platforms:
description: 'Available platforms'
value: ${{ steps.buildx.outputs.platforms }}
runs:
using: 'composite'
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Common Setup
id: common_setup
uses: fortio/workflows/.github/actions/common_setup@main
with:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
- name: Available platforms
run: |
echo "Platforms found: ${{ steps.common_setup.outputs.platforms }}"
- name: Set up Go
uses: actions/setup-go@v5 # pin@v3
with:
Expand Down

0 comments on commit 08c3a76

Please sign in to comment.