68
68
# Cache ID is a value inserted into cache keys. Whenever changing the build
69
69
# in a way that needs to use entirely new fresh builds, increment the number
70
70
# by one so that all the keys become new.
71
- CACHE_ID : 3
71
+ CACHE_ID : 4
72
72
ARTIFACT_RETENTION_DAYS_FOR_IMAGE : 7
73
73
ARTIFACT_RETENTION_DAYS_FOR_LOGS : 60
74
74
89
89
- id : xdr
90
90
run : echo "sha=$(gh api repos/stellar/rs-stellar-xdr/commits/"${{inputs.xdr_ref}}" --jq '.sha')" | tee -a $GITHUB_OUTPUT
91
91
- id : core
92
- run : echo "sha=$(gh api repos/" ${{inputs.core_repo}}" /commits/"${{inputs.core_ref}}" --jq '.sha')" | tee -a $GITHUB_OUTPUT
92
+ run : echo "sha=$(gh api repos/${{inputs.core_repo}}/commits/"${{inputs.core_ref}}" --jq '.sha')" | tee -a $GITHUB_OUTPUT
93
93
- id : rpc
94
94
run : echo "sha=$(gh api repos/stellar/stellar-rpc/commits/"${{inputs.stellar_rpc_ref}}" --jq '.sha')" | tee -a $GITHUB_OUTPUT
95
95
- id : horizon
@@ -123,6 +123,10 @@ jobs:
123
123
if : ${{ needs.load-stellar-core-from-cache.outputs.cache-hit != 'true' }}
124
124
runs-on : ${{ inputs.arch == 'arm64' && 'ubuntu-jammy-4-cores-arm64' || 'ubuntu-latest' }}
125
125
steps :
126
+ - name : Checkout Quickstart for Core docker file
127
+ uses : actions/checkout@v3
128
+ with :
129
+ ref : ${{ inputs.sha }}
126
130
- id : cache
127
131
uses : actions/cache@v3
128
132
with :
@@ -136,11 +140,12 @@ jobs:
136
140
- name : Build Stellar-Core Image
137
141
run : >
138
142
docker buildx build --platform linux/${{ inputs.arch }}
139
- -f docker/Dockerfile.testing -t stellar-core:${{ inputs.arch }}
143
+ -f Dockerfile.core
144
+ -t stellar-core:${{ inputs.arch }}
140
145
-o type=docker,dest=/tmp/image
141
- https://github.com/ ${{ inputs.core_repo }}.git#${{ needs.shas.outputs.core }}
142
- --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=true
143
- --build-arg CONFIGURE_FLAGS='${{ inputs.core_configure_flags }}'
146
+ --build-arg REPO=" ${{ inputs.core_repo }}"
147
+ --build-arg REF="${{ needs.shas.outputs.core }}"
148
+ --build-arg CONFIGURE_FLAGS='${{ inputs.core_configure_flags }}' .
144
149
- name : Upload Stellar-Core Image
145
150
uses : actions/upload-artifact@v4
146
151
with :
@@ -401,7 +406,7 @@ jobs:
401
406
-f Dockerfile.xdr
402
407
-t stellar-rs-xdr:${{ inputs.arch }}
403
408
-o type=docker,dest=/tmp/image
404
- --build-arg REPO=https://github.com/ stellar/rs-stellar-xdr.git
409
+ --build-arg REPO=stellar/rs-stellar-xdr
405
410
--build-arg REF="${{ needs.shas.outputs.xdr }}" .
406
411
- name : Upload Stellar-Rs-Xdr Image
407
412
uses : actions/upload-artifact@v4
0 commit comments