File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed
Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,29 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v2
2121
22- - name : CI Tooling
23- run : sudo apt update && sudo apt install build-essential -y
24-
25- - name : Build devcontainer for tooling
26- run : sudo -E make devcontainer
22+ - name : Set up Docker BuildKit
23+ uses : docker/setup-buildx-action@v1
2724
28- - name : Run the release
29- run : sudo -E make devcontainer-release
25+ - name : Login to GitHub Container Registry
26+ uses : docker/login-action@v1
27+ with :
28+ registry : ghcr.io
29+ username : ${{ github.repository_owner }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - name : Build and run CLI
33+ uses :
stuartleeks/[email protected] 3034 env :
3135 GITHUB_TOKEN : ${{ secrets.GH_CROSS_REPO_TOKEN }}
3236 BUILD_NUMBER : ${{ github.run_id }}
33- IS_CI : 1
3437 IS_PR : ${{ github.head_ref }}
3538 BRANCH : ${{ github.ref }}
39+ with :
40+ imageName : ghcr.io/stuartleeks/devcontainer-cli-devcontainer
41+ runCmd : make devcontainer-release
42+ env : |
43+ GITHUB_TOKEN
44+ BUILD_NUMBER
45+ IS_CI=1
46+ IS_PR
47+ BRANCH
You can’t perform that action at this time.
0 commit comments