@@ -851,13 +851,6 @@ jobs:
851
851
852
852
build-publish :
853
853
runs-on : ubuntu-latest
854
- needs :
855
- - lint
856
- - lint-docs
857
- - test
858
- - test-bns
859
- - test-rosetta
860
- - test-rosetta-cli-construction
861
854
steps :
862
855
- uses : actions/checkout@v3
863
856
with :
@@ -906,20 +899,6 @@ jobs:
906
899
type=semver,pattern={{major}}.{{minor}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
907
900
type=raw,value=latest,enable={{is_default_branch}}
908
901
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
-
923
902
- name : Login to DockerHub
924
903
uses : docker/login-action@v3
925
904
with :
@@ -936,18 +915,6 @@ jobs:
936
915
# 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)
937
916
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) }}
938
917
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
-
951
918
- name : API Discord notification
952
919
if : steps.semantic.outputs.new_release_version != ''
953
920
uses : Ilshidur/action-discord@master
0 commit comments