Skip to content

Commit 1d5fa88

Browse files
authored
ci: remove unsupported standalone image build (#1950)
* ci: remove unsupported standalone image build * ci: start image build without waiting for other misc CI jobs
1 parent ccb219e commit 1d5fa88

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -851,13 +851,6 @@ jobs:
851851

852852
build-publish:
853853
runs-on: ubuntu-latest
854-
needs:
855-
- lint
856-
- lint-docs
857-
- test
858-
- test-bns
859-
- test-rosetta
860-
- test-rosetta-cli-construction
861854
steps:
862855
- uses: actions/checkout@v3
863856
with:
@@ -906,20 +899,6 @@ jobs:
906899
type=semver,pattern={{major}}.{{minor}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
907900
type=raw,value=latest,enable={{is_default_branch}}
908901
909-
- name: Docker Standalone Meta
910-
id: meta_standalone
911-
uses: docker/metadata-action@v5
912-
with:
913-
images: |
914-
blockstack/${{ github.event.repository.name }}-standalone
915-
hirosystems/${{ github.event.repository.name }}-standalone
916-
tags: |
917-
type=ref,event=branch
918-
type=ref,event=pr
919-
type=semver,pattern={{version}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
920-
type=semver,pattern={{major}}.{{minor}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
921-
type=raw,value=latest,enable={{is_default_branch}}
922-
923902
- name: Login to DockerHub
924903
uses: docker/login-action@v3
925904
with:
@@ -936,18 +915,6 @@ jobs:
936915
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
937916
push: ${{ (github.ref != 'refs/heads/master' || steps.semantic.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
938917

939-
- name: Build/Tag/Push Standalone Image
940-
uses: docker/build-push-action@v5
941-
with:
942-
context: .
943-
build-args: |
944-
STACKS_API_VERSION=${{ github.head_ref || github.ref_name }}
945-
file: docker/rosetta.Dockerfile
946-
tags: ${{ steps.meta_standalone.outputs.tags }}
947-
labels: ${{ steps.meta_standalone.outputs.labels }}
948-
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
949-
push: ${{ (github.ref != 'refs/heads/master' || steps.semantic.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
950-
951918
- name: API Discord notification
952919
if: steps.semantic.outputs.new_release_version != ''
953920
uses: Ilshidur/action-discord@master

0 commit comments

Comments
 (0)