install go binary in jenkins CI worker (#2304) #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Jenkins images and push to Quay | |
on: | |
push: | |
paths: | |
- Docker/jenkins/** | |
jobs: | |
jenkins: | |
name: Jenkins Build and Push | |
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master | |
with: | |
DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins/Dockerfile" | |
DOCKERFILE_BUILD_CONTEXT: "./Docker/jenkins/Jenkins" | |
OVERRIDE_REPO_NAME: "jenkins" | |
USE_QUAY_ONLY: true | |
BUILD_PLATFORMS: "linux/amd64" | |
secrets: | |
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} | |
jenkins2: | |
name: Jenkins2 Build and Push | |
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master | |
with: | |
DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins2/Dockerfile" | |
DOCKERFILE_BUILD_CONTEXT: "./Docker/jenkins/Jenkins2" | |
OVERRIDE_REPO_NAME: "jenkins2" | |
USE_QUAY_ONLY: true | |
BUILD_PLATFORMS: "linux/amd64" | |
secrets: | |
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} | |
jenkins-ci-worker: | |
name: Jenkins-CI-Worker Build and Push | |
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master | |
with: | |
DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins-CI-Worker/Dockerfile" | |
DOCKERFILE_BUILD_CONTEXT: "./Docker/jenkins/Jenkins-CI-Worker" | |
OVERRIDE_REPO_NAME: "gen3-ci-worker" | |
USE_QUAY_ONLY: true | |
BUILD_PLATFORMS: "linux/amd64" | |
secrets: | |
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} | |
jenkins-qa-worker: | |
name: Jenkins-QA-Worker Build and Push | |
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master | |
with: | |
DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins-Worker/Dockerfile" | |
DOCKERFILE_BUILD_CONTEXT: "./Docker/jenkins/Jenkins-Worker" | |
OVERRIDE_REPO_NAME: "gen3-qa-worker" | |
USE_QUAY_ONLY: true | |
BUILD_PLATFORMS: "linux/amd64" | |
secrets: | |
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} |