mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
CI: fix docker push (#29614)
* fix those * fix docker push too * dont need that twice
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
||||
run: eval "$BUILD_CL"
|
||||
- name: Setup to push to repo
|
||||
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'
|
||||
run:
|
||||
run: |
|
||||
export PUSH_IMAGE=true
|
||||
$DOCKER_LOGIN
|
||||
- name: Build and push sim image
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
git_lfs: false
|
||||
- name: Setup to push to repo
|
||||
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'
|
||||
run:
|
||||
run: |
|
||||
export PUSH_IMAGE=true
|
||||
$DOCKER_LOGIN
|
||||
- name: Build and push docs image
|
||||
|
||||
Reference in New Issue
Block a user