Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix: re-add steps back to release (#1119)
Browse files Browse the repository at this point in the history
* fix: re-add docker back to release

* prettify

---------

Co-authored-by: Rashad Alston <[email protected]>
  • Loading branch information
ra0x3 and Rashad Alston authored Jul 17, 2023
1 parent a2a12cc commit 094648d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ jobs:
id: set-env
run: >
echo "IS_MASTER=${{ env.IS_MASTER }}" >> $GITHUB_OUTPUT
echo "IS_RELEASE=${{ env.IS_RELEASE }}" >> $GITHUB_OUTPUT
echo "IS_RELEASE_OR_MASTER=${{ env.IS_RELEASE_OR_MASTER }}" >> $GITHUB_OUTPUT
echo "IS_RELEASE_OR_MASTER=${{ env.IS_RELEASE_OR_MASTER }}" >>
$GITHUB_OUTPUT
if [[ ${{ env.BRANCH_NAME }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "IS_RELEASE_OR_MASTER_OR_SEMVER=true" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -344,9 +348,8 @@ jobs:
echo $PATH
which forc-index
which fuel-indexer
bash ./ci/build-and-deploy-examples.bash
bash ./ci/build-and-deploy-examples.bash
cargo-test-forc-index-plugins:
if: needs.check-is-semver-branch.outputs.is_semver_branch != 'true'
needs:
Expand All @@ -367,7 +370,7 @@ jobs:
publish-docker-image:
needs:
- set-env-vars
if: needs.set-env-vars.outputs.IS_RELEASE == 'true'
if: needs.set-env-vars.outputs.IS_RELEASE_OR_MASTER == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -406,7 +409,7 @@ jobs:
with:
context: .
file: deployment/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: 'linux/amd64,linux/arm64'
push: true
tags: '${{ steps.meta.outputs.tags }}'
labels: '${{ steps.meta.outputs.labels }}'
Expand Down

0 comments on commit 094648d

Please sign in to comment.