Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): copy artifacts to GCP #789

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,23 @@ jobs:
skopeo copy --multi-arch=all --insecure-policy --src-tls-verify=false "docker://localhost:5000/unionlabs/${{ matrix.package }}:${{ github.ref_name }}" "docker://ghcr.io/unionlabs/${{ matrix.package }}:${{ github.ref_name }}"

echo "Copied ${{ matrix.package }}:${{ github.ref_name }} multi-arch to GHCR"
- name: Authenticate to GCP
uses: 'google-github-actions/auth@v1'
with:
credentials_json: ${{ secrets.GCP_AR_CRED_JSON }}
- name: Set up GCP SDK
uses: google-github-actions/setup-gcloud@v1
with:
version: '>= 363.0.0'
- name: Configure docker to authinticate with GCP
run: |
gcloud auth configure-docker europe-docker.pkg.dev
- name: Copy Manifest to GCP
run: |
if [[ "uniond" == ${{ matrix.package }} ]]; then
skopeo copy --multi-arch=all --insecure-policy --src-tls-verify=false "docker://localhost:5000/unionlabs/${{ matrix.package }}:${{ github.ref_name }}" "docker://europe-docker.pkg.dev/model-envelope-401614/union-testnet/${{ matrix.package }}:${{ github.ref_name }}"
fi


release:
runs-on: ubuntu-latest
Expand Down
Loading