8
8
jobs :
9
9
build-and-push :
10
10
name : Build and push images
11
- if : ${{ github.event.base_ref == 'refs/heads/main' }}
11
+ # if: ${{ github.event.base_ref == 'refs/heads/main' }}
12
12
strategy :
13
13
matrix :
14
14
page : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
@@ -29,47 +29,47 @@ jobs:
29
29
id : checkout
30
30
uses : actions/checkout@v1
31
31
32
- - name : Get tag name
33
- id : get_tag_name
34
- run : echo "::set-output name=tag::$(echo "${{ github.ref }}" | grep -oP 'refs/tags/\K(.+)')"
32
+ # - name: Get tag name
33
+ # id: get_tag_name
34
+ # run: echo "::set-output name=tag::$(echo "${{ github.ref }}" | grep -oP 'refs/tags/\K(.+)')"
35
35
36
- - name : Azure CLI login
37
- id : az_login
38
- uses : azure/login@v1
39
- with :
40
- creds : ${{ secrets.AZ_ACR_CREDS }}
36
+ # - name: Azure CLI login
37
+ # id: az_login
38
+ # uses: azure/login@v1
39
+ # with:
40
+ # creds: ${{ secrets.AZ_ACR_CREDS }}
41
41
42
- - name : Build and push
43
- id : build_and_push
44
- env :
45
- GITHUB_TOKEN : ${{ secrets.PAT }}
46
- REGISTRY : ${{ secrets.REGISTRY }}
47
- REGISTRY_BASE_PATH : ${{ secrets.REGISTRY_BASE_PATH }}
48
- STUB_REGISTRY : ${{ secrets.STUB_REGISTRY }}
49
- STUB_REGISTRY_BASE_PATH : ${{ secrets.STUB_REGISTRY_BASE_PATH }}
50
- run : |
51
- set -e
42
+ # - name: Build and push
43
+ # id: build_and_push
44
+ # env:
45
+ # GITHUB_TOKEN: ${{ secrets.PAT }}
46
+ # REGISTRY: ${{ secrets.REGISTRY }}
47
+ # REGISTRY_BASE_PATH: ${{ secrets.REGISTRY_BASE_PATH }}
48
+ # STUB_REGISTRY: ${{ secrets.STUB_REGISTRY }}
49
+ # STUB_REGISTRY_BASE_PATH: ${{ secrets.STUB_REGISTRY_BASE_PATH }}
50
+ # run: |
51
+ # set -e
52
52
53
- # ACR login
54
- ACR_REGISTRY_NAME=$(echo "$REGISTRY" | grep -oP '(.+)(?=\.azurecr\.io)')
55
- az acr login --name $ACR_REGISTRY_NAME
53
+ # # ACR login
54
+ # ACR_REGISTRY_NAME=$(echo "$REGISTRY" | grep -oP '(.+)(?=\.azurecr\.io)')
55
+ # az acr login --name $ACR_REGISTRY_NAME
56
56
57
- # Build and push images
58
- yarn install
59
- npm install -g @devcontainers/[email protected]
60
- build/vscdc push --page ${{ matrix.page }} \
61
- --pageTotal ${{ matrix.page-total }} \
62
- --release ${{ steps.get_tag_name.outputs.tag }} \
63
- --github-repo ${{ github.repository }} \
64
- --registry "$REGISTRY" \
65
- --registry-path "$REGISTRY_BASE_PATH" \
66
- --stub-registry "$STUB_REGISTRY" \
67
- --stub-registry-path "$STUB_REGISTRY_BASE_PATH"
57
+ # # Build and push images
58
+ # yarn install
59
+ # npm install -g @devcontainers/[email protected]
60
+ # build/vscdc push --page ${{ matrix.page }} \
61
+ # --pageTotal ${{ matrix.page-total }} \
62
+ # --release ${{ steps.get_tag_name.outputs.tag }} \
63
+ # --github-repo ${{ github.repository }} \
64
+ # --registry "$REGISTRY" \
65
+ # --registry-path "$REGISTRY_BASE_PATH" \
66
+ # --stub-registry "$STUB_REGISTRY" \
67
+ # --stub-registry-path "$STUB_REGISTRY_BASE_PATH"
68
68
69
69
image-info :
70
70
name : Trigger info extraction
71
71
needs : [build-and-push]
72
- uses : devcontainers/images/.github/workflows/version-history.yml@main
72
+ uses : devcontainers/images/.github/workflows/version-history.yml@test-version-1
73
73
with :
74
74
release : " ${{ github.ref }}"
75
75
cg : " false"
0 commit comments