Skip to content

Commit cdd09de

Browse files
committed
Fix bse-tag input
1 parent f4a97b3 commit cdd09de

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

.github/actions/build-devcontainer-img/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
description: "The Idris version to build"
1111
required: false
1212
default: "latest"
13-
base-img:
13+
base-tag:
1414
description: "Tag of the base image to use. Should be from base.Dockerfile"
1515
required: true
1616
push:
@@ -51,7 +51,7 @@ runs:
5151
build-args: |
5252
IDRIS_LSP_VERSION=${{ inputs.idris-lsp-version }}
5353
IDRIS_VERSION=${{ inputs.idris-version }}
54-
BASE_IMG=${{ inputs.base-img }}
54+
BASE_IMG=${{ inputs.base-tag }}
5555
tags: ${{ inputs.tags }}
5656
load: ${{ inputs.load }}
5757
push: ${{ inputs.push }}
@@ -71,7 +71,7 @@ runs:
7171
IDRIS_LSP_SHA=${{ steps.get-sha.outputs.lsp-sha }}
7272
IDRIS_VERSION=${{ inputs.idris-version }}
7373
IDRIS_SHA=${{ steps.get-sha.outputs.idris-sha }}
74-
BASE_IMG=${{ inputs.base-img }}
74+
BASE_IMG=${{ inputs.base-tag }}
7575
tags: ${{ inputs.tags }}
7676
load: ${{ inputs.load }}
7777
push: ${{ inputs.push }}

.github/workflows/cron.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release Latest
2+
3+
on:
4+
workflow_dispatch:
5+
# every day at 1am
6+
schedule:
7+
- cron: '0 1 * * *'
8+
9+
10+
jobs:
11+
base-build-test:
12+
name: Base Build and Test
13+
uses: ./.github/workflows/version-base-build-test.yml
14+
with:
15+
idris-version: latest
16+
secrets: inherit
17+
18+
base-deploy:
19+
name: Base Deploy
20+
needs: [base-build-test]
21+
uses: ./.github/workflows/version-base-deploy.yml
22+
with:
23+
idris-version: latest
24+
secrets: inherit
25+
26+
devcontainer-build-test:
27+
name: Devcontainer Build and Test
28+
needs: [base-build-test] # needs cached base builds
29+
uses: ./.github/workflows/version-devcontainer-build-test.yml
30+
with:
31+
idris-lsp-version: latest
32+
idris-version: latest
33+
secrets: inherit
34+
35+
devcontainer-deploy:
36+
name: Devcontainer Deploy
37+
needs: [base-deploy, devcontainer-build-test] # needs base deployed to registry
38+
uses: ./.github/workflows/version-devcontainer-deploy.yml
39+
with:
40+
idris-lsp-version: latest
41+
idris-version: latest
42+
secrets: inherit

0 commit comments

Comments
 (0)