maybe set the work dir? #9
Workflow file for this run
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: mike test build | |
on: | |
push: | |
branches: | |
- fix-docker-publish | |
jobs: | |
go-versions: | |
uses: ./.github/workflows/go-versions.yml | |
release-ldcli: | |
permissions: | |
id-token: write # Needed to obtain Docker tokens | |
contents: write # Needed to upload release artifacts | |
needs: [ go-versions ] | |
runs-on: ubuntu-latest | |
outputs: | |
hashes: ${{ steps.publish.outputs.hashes }} | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ needs.go-versions.outputs.latest }} | |
- uses: launchdarkly/gh-actions/actions/[email protected] | |
name: 'Get Docker token' | |
with: | |
aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | |
ssm_parameter_pairs: '/global/services/docker/public/username = DOCKER_USERNAME, /global/services/docker/public/token = DOCKER_TOKEN' | |
- uses: ./.github/actions/publish | |
id: publish | |
with: | |
skip: 'validate' | |
dry-run: 'false' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
homebrew-gh-secret: ${{secrets.HOMEBREW_DEPLOY_KEY}} | |
tag: ${{ needs.release-please.outputs.tag_name }} |