Skip to content

Commit 16a6aa2

Browse files
authored
Merge pull request #33 from valory-xyz/fix/docker-image-ci
fix: fix docker image build and push in CI
2 parents 018a6da + fffd15d commit 16a6aa2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
run: |
2525
echo "Pushing Packages"
2626
cd /work
27-
export AUTHOR=$(grep 'service' packages/packages.json | awk -F/ '{print $2}' | head -1)
27+
# export AUTHOR=$(grep 'service' packages/packages.json | awk -F/ '{print $2}' | head -1)
28+
# Hardcode author to push images to valory docker repository
29+
export AUTHOR=valory
2830
autonomy init --reset --author $AUTHOR --ipfs --remote
2931
autonomy push-all
3032
publish-images:
@@ -80,7 +82,8 @@ jobs:
8082
cd /work
8183
source env.sh || exit 1
8284
echo "Building images for $AUTHOR for service $SERVICE"
83-
autonomy init --reset --author $AUTHOR --ipfs --remote
85+
echo "TODO: Remove hardcoding of author to valory and use $AUTHOR"
86+
autonomy init --reset --author valory --ipfs --remote
8487
autonomy fetch $AUTHOR/$SERVICE --service --local || exit 1
8588
cd $SERVICE || exit 1
8689
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin || exit 1
@@ -155,7 +158,6 @@ jobs:
155158
make agent.zip
156159
make agent.tar.gz
157160
158-
159161
## LINUX
160162
- name: Build Agent Runner Linux
161163
if: runner.os == 'Linux'
@@ -176,9 +178,9 @@ jobs:
176178
env:
177179
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
178180
CSC_LINK: ${{ secrets.CSC_LINK }}
179-
APPLE_ID: ${{ secrets.APPLE_ID }} # Apple ID email
180-
APPLE_ID_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} # App-specific password
181-
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} # Team ID из Apple Dev Account
181+
APPLE_ID: ${{ secrets.APPLE_ID }} # Apple ID email
182+
APPLE_ID_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} # App-specific password
183+
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} # Team ID из Apple Dev Account
182184
SIGN_ID: "Developer ID Application: Valory AG (${{ secrets.APPLE_TEAM_ID }})"
183185
run: |
184186
echo "$CSC_LINK" | base64 --decode > certificate.p12
@@ -288,7 +290,6 @@ jobs:
288290
name: agent_runner_windows_x64.exe
289291
path: ./dist/
290292

291-
292293
- name: Download artifacts
293294
uses: actions/download-artifact@v4
294295
with:

0 commit comments

Comments
 (0)