Skip to content

build,workflows: add a workflow to build and push builder image #7

build,workflows: add a workflow to build and push builder image

build,workflows: add a workflow to build and push builder image #7

name: Build and Push acceptance image
on:
pull_request
jobs:
tags:
runs-on: ubuntu-latest
outputs:
time_tag: ${{ steps.vars.outputs.TIME_TAG }}
steps:
-
name: Set TAG value
id: vars
run: echo "TIME_TAG=$(date +%Y%m%d-%H%M%S)" >> $GITHUB_OUTPUT
docker:
needs: tags
uses: ./.github/workflows/gar-workflows-reusable-build-push-multiplatform-images.yml
with:

Check failure on line 19 in .github/workflows/gar-workflows-build-push-acceptance-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gar-workflows-build-push-acceptance-image.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
tags: |
us-east1-docker.pkg.dev/crl-ci-images/cockroach/acceptance:${{ needs.tags.outputs.time_tag }}
dockerFilePath: pkg/acceptance/testdata/Dockerfile
workingDirectory: {{defaultContext}}:pkg/acceptance/testdata
secrets:
gcp_wif_provider: ${{ secrets.GCP_CRL_CI_IMAGES_WIF_PROVIDER }}
gcp_wif_service_account: ${{ secrets.GCP_CRL_CI_IMAGES_SERVICE_ACCOUNT }}