Skip to content

Commit

Permalink
Fix Yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Jul 27, 2023
1 parent d1dd1e3 commit 712e40e
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/auto_create_rel_env_release_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
# If this is a 2.x.0 release, create the rel-env docker images from master
# If this is a 2.x.x hotfix release, create the rel-env images from the hotfix branch
# If this is a 1.x.x hotfix release, _don't_ create the images (required assets don't exist in that branch)
auto_create_rel_env_images:
if: startsWith(github.event.release.tag_name, 'v2.')
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -40,18 +41,18 @@ jobs:
echo "version=$version" >> $GITHUB_OUTPUT
echo "sha=$sha" >> $GITHUB_OUTPUT
- name: "Download build assets from Azure Pipelines"
id: assets
run: |
./tracer/build.sh DownloadReleaseArtifacts
env:
TargetBranch: "${{ steps.variables.outputs.ref }}"
CommitSha: "${{ steps.variables.outputs.sha }}"

- uses: ./.github/actions/create-rel-env-docker-base-images
name: 'Create rel-env docker images'
with:
artifacts_path: "${{steps.assets.outputs.artifacts_path}}"
is_release_version: "True"
package_version: "${{steps.variables.outputs.version}}"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: "Download build assets from Azure Pipelines"
id: assets
run: |
./tracer/build.sh DownloadReleaseArtifacts
env:
TargetBranch: "${{ steps.variables.outputs.ref }}"
CommitSha: "${{ steps.variables.outputs.sha }}"

- uses: ./.github/actions/create-rel-env-docker-base-images
name: 'Create rel-env docker images'
with:
artifacts_path: "${{steps.assets.outputs.artifacts_path}}"
is_release_version: "True"
package_version: "${{steps.variables.outputs.version}}"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 712e40e

Please sign in to comment.