Update build-images.yaml

This commit is contained in:
uazo 2022-10-16 17:48:41 +02:00 committed by GitHub
parent 7fa6f201ac
commit 7574d8dbac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ on:
inputs:
version:
description: 'chromium version'
required: true
required: false
default: ''
env:
@ -48,6 +48,14 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Check versions
shell: bash
run: |
if [ -z $VERSION ]; then
VERSION=$(curl -s https://omahaproxy.appspot.com/all.json | jq '.[] | select(.os | contains("win64")) | .versions[] | select(.channel | contains("stable")) | .current_version')
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
fi
- name: Building build-deps container ${{ env.VERSION }}
shell: bash