summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/gitpod.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml
index 55683bcae..bbca92865 100644
--- a/.github/workflows/gitpod.yml
+++ b/.github/workflows/gitpod.yml
@@ -4,19 +4,21 @@ on:
push:
branches:
- main
-
+
jobs:
build:
- name: Build Gitpod Docker image
+ name: Build Gitpod Docker image
runs-on: ubuntu-latest
environment: numpy-dev
if: "github.repository_owner == 'numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
steps:
- name: Clone repository
uses: actions/checkout@v2
- - name: Lint Docker
+ with:
+ fetch-depth: 0
+ - name: Lint Docker
uses: brpaz/hadolint-action@v1.2.1
- with:
+ with:
dockerfile: ./tools/gitpod/gitpod.Dockerfile
- name: Get refs
shell: bash
@@ -50,6 +52,6 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache
tags: |
numpy/numpy-gitpod:${{ steps.getrefs.outputs.date }}-${{ steps.getrefs.outputs.branch}}-${{ steps.getrefs.outputs.sha8 }}, numpy/numpy-gitpod:latest
- - name: Image digest
+ - name: Image digest
# Return details of the image build: sha and shell
- run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file
+ run: echo ${{ steps.docker_build.outputs.digest }}