mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Do not use deprecated macos-10.15 runner (#6724)
This commit is contained in:
parent
6ff5e82cfd
commit
2d3fff7f59
2 changed files with 4 additions and 2 deletions
2
.github/workflows/fleetctl-preview.yml
vendored
2
.github/workflows/fleetctl-preview.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
# Doesn't work on Windows because Linux Docker containers are not supported.
|
||||
os: [ubuntu-20.04, ubuntu-18.04, macos-10.15, macos-11]
|
||||
os: [ubuntu-20.04, ubuntu-18.04, macos-11, macos-12]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Docker
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ jobs:
|
|||
publish:
|
||||
# Only run it when the push is to the fleetdm/fleet repo. Otherwise the secrets for pushing to
|
||||
# Docker will not be available.
|
||||
if: github.repository_owner == 'fleetdm'
|
||||
#
|
||||
# Also not run if author is dependabot (it doesn't have access to Github secrets).
|
||||
if: ${{ (github.repository == 'fleetdm/fleet') && (github.actor != 'dependabot[bot]') }}
|
||||
runs-on: ubuntu-latest
|
||||
environment: Docker Hub
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue