Skip to content

Fix runners

Fix runners #2

name: Docker Build and Push
on:
push:
branches:
- 'add_artifical_delay'
jobs:
build-pre-checks:
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.setup-go.outputs.go-version }}
steps:
- uses: actions/[email protected]
- id: setup-go
uses: actions/[email protected]
with:
go-version-file: .go-version
qa-vso-docker-build-push:
runs-on: ubuntu-latest
needs: [build-pre-checks]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and push docker image
uses: salesloft/build-push-action@v1
with:
build-args: |
GO_VERSION: ${{ needs.build-pre-checks.outputs.go-version }}
registry: registry.qasalesloft.com
push: false
file: Dockerfile
arch: x64
tags: |
vault-secrets-operator:${{ github.sha }}