Update build-images.yaml
This commit is contained in:
parent
7fa6f201ac
commit
7574d8dbac
10
.github/workflows/build-images.yaml
vendored
10
.github/workflows/build-images.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user