Skip to content

Commit

Permalink
ci: add config to dockerhub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
quantwealth-dev authored Jun 26, 2024
1 parent 545e8ef commit 59151fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
with:
images: quantwealthdev/qw-nova

- name: Create config file
env:
NOVA_CONFIG: ${{ secrets.NOVA_CONFIG }}
run: |
touch packages/agents/nova/src/config/config.json
echo "$NOVA_CONFIG" >> packages/agents/nova/src/config/config.json
shell: bash

- name: Build and push Docker image
id: push
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
Expand All @@ -48,11 +56,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit 59151fd

Please sign in to comment.