Skip to content

Bump github.com/rs/xid from 1.5.0 to 1.6.0 in /scheduler (#6069) #643

Bump github.com/rs/xid from 1.5.0 to 1.6.0 in /scheduler (#6069)

Bump github.com/rs/xid from 1.5.0 to 1.6.0 in /scheduler (#6069) #643

Workflow file for this run

name: V2 Build docker images
on:
push:
branches: [v2]
workflow_dispatch:
inputs:
docker-tag:
description: "Docker tag for push"
default: "latest"
required: false
jobs:
test:
name: test
runs-on: ubuntu-latest
if: github.repository == 'SeldonIO/seldon-core' # Do not run this on forks.
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: test-operator
run: make -C operator test
- name: test-scheduler
run: make -C scheduler test
- name: test-hodometer
run: make -C hodometer test-hodometer
docker:
needs: test
runs-on: ubuntu-latest
if: github.repository == 'SeldonIO/seldon-core' # Do not run this on forks.
steps:
- name: Checkout Git Commit
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set default docker tag for builds from master
id: docker-tag
run: |
USER_INPUT="${{ github.event.inputs.docker-tag }}"
echo "value=${USER_INPUT:-latest}" >> $GITHUB_OUTPUT
- name: Echo the tags that will be used to push images
run: echo "Will push images with tag ${{ steps.docker-tag.outputs.value }}"
- name: Push Docker Image for Operator
working-directory: ./operator
run: CUSTOM_IMAGE_TAG=${{ steps.docker-tag.outputs.value }} make docker-build docker-push
- name: Push Docker Images for Scheduler
working-directory: ./scheduler
run: CUSTOM_IMAGE_TAG=${{ steps.docker-tag.outputs.value }} make docker-build-all docker-push-all
- name: Push Docker Images for Hodometer
working-directory: ./hodometer
run: BUILD_VERSION=${{ steps.docker-tag.outputs.value }} IMAGE_TAG=${{ steps.docker-tag.outputs.value }} make build-hodometer-docker push-hodometer-docker