Use shared devcontainer image in PR builds
Use the shared devcontainer image in the PR validation build.
@@ -33,9 +33,9 @@ jobs:
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
- registry: docker.pkg.github.com
+ registry: docker.pkg.github.com # ghcr.io not yet enabled for Azure org
username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }
+ password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & push Devcontainer image
uses: docker/build-push-action@v2
@@ -45,5 +45,5 @@ jobs:
# Build an image usable as cache-from, per: https://docs.docker.com/engine/reference/commandline/build/#specifying-external-cache-sources
build-args: BUILDKIT_INLINE_CACHE=1
tags: |
- docker.pkg.github.com/${{ github.repository }}/devcontainer:latest
- docker.pkg.github.com/${{ github.repository }}/devcontainer:${{ github.sha }}
+ docker.pkg.github.com/azure/azure-service-operator/aso-devcontainer:latest
+ docker.pkg.github.com/azure/azure-service-operator/aso-devcontainer:${{ github.sha }}
