github.com/tigera/api@v0.0.0-20240320170621-278e89a8c5fb/.semaphore/cut-release.yml (about) 1 version: v1.0 2 name: Cut Release 3 4 execution_time_limit: 5 minutes: 30 6 7 agent: 8 machine: 9 type: e1-standard-2 10 os_image: ubuntu1804 11 12 global_job_config: 13 prologue: 14 commands: 15 # Correct permissions since they are too open by default: 16 - chmod 0600 ~/.keys/* 17 # Add the key to the ssh agent: 18 - ssh-add ~/.keys/* 19 - checkout 20 - git fetch --unshallow || true 21 22 blocks: 23 - name: 'Cut Release' 24 task: 25 secrets: 26 - name: marvin-github-ssh-private-key 27 - name: marvin-release-cutting-credentials 28 prologue: 29 commands: 30 # Login to gcr in order to push images to gcr. 31 - docker login --username marvin@tigera.io -u _json_key -p "$(cat ~/secrets/marvin-gcr-credentials.json)" https://gcr.io 32 # Login to quay in order to push images to quay. 33 - echo $MARVIN_QUAY_TOKEN | docker login --username $MARVIN_QUAY_USERNAME https://quay.io --password-stdin 34 jobs: 35 - name: Cut Release 36 commands: 37 - make git-config CONFIRM=true 38 - make cut-release CONFIRM=true