Skip to content

Commit 5f0c4e6

Browse files
committed
Merge branch 'trunk' of github.com:SeleniumHQ/docker-selenium into trunk
# Conflicts: # .github/workflows/build-test.yml
2 parents 18f5d4e + 124b9d0 commit 5f0c4e6

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/build-test.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- trunk
7-
- upgrade-ubuntu-bionic-20200639
87
pull_request:
98
branches:
109
- trunk
@@ -26,16 +25,18 @@ jobs:
2625
uses: actions/setup-python@v2
2726
with:
2827
python-version: 3.8
29-
- name: Extract branch Name
30-
run: echo "::set-env name=BRANCH::$(echo ${GITHUB_REF##*/})"
28+
- name: Get branch name (only for push to branch)
29+
if: github.event_name == 'push'
30+
run: echo "::set-env name=BRANCH::$(echo ${PUSH_BRANCH##*/})"
31+
env:
32+
PUSH_BRANCH: ${{ github.ref }}
33+
- name: Get target branch name (only for PRs)
34+
if: github.event_name == 'pull_request'
35+
run: echo "::set-env name=BRANCH::$(echo ${TARGET_BRANCH##*/})"
36+
env:
37+
TARGET_BRANCH: ${{ github.head_ref }}
3138
- name: Output branch name
3239
run: echo ${BRANCH}
33-
- name: Output GitHub Head ref
34-
if: github.event_name == 'pull_request'
35-
run: echo ${{ github.head_ref }}
36-
- name: Output GitHub ref
37-
if: github.event_name == 'push'
38-
run: echo ${{ github.ref }}
3940
- name: Build Docker images
4041
run: VERSION=${BRANCH} make build
4142
- name: Test Docker images

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:bionic-20191029
1+
FROM ubuntu:bionic-20200630
22
LABEL authors="Selenium <[email protected]>"
33

44
#================================================

0 commit comments

Comments
 (0)