diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0ff581..9a4a328 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,9 @@ jobs: - name: "Log in to DockerHub" uses: docker/login-action@v3 with: - registry: faasm.azurecr.io - username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }} - password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }} + registry: ghcr.io + username: faasm + password: ${{ secrets.GHCR_PAT }} - name: "Build and push examples-build image" uses: docker/build-push-action@v4 with: @@ -51,4 +51,4 @@ jobs: EXAMPLES_VERSION=${{ env.EXAMPLES_VERSION }} PYTHON_VERSION=${{ env.PYTHON_VERSION }} context: . - tags: faasm.azurecr.io/examples-build:${{ env.EXAMPLES_VERSION }} + tags: ghcr.io/faasm/examples-build:${{ env.EXAMPLES_VERSION }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5327472..9bd4298 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,10 +61,7 @@ jobs: if: ${{ needs.needs-build.outputs.needs-wasm == 'true' }} runs-on: ubuntu-latest container: - image: faasm.azurecr.io/examples-build:0.6.0_0.4.0 - credentials: - username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }} - password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }} + image: ghcr.io/faasm/examples-build:0.6.0_0.4.0 steps: - name: "Checkout code" uses: actions/checkout@v4 diff --git a/docker/build.dockerfile b/docker/build.dockerfile index 6b3be5b..bdc0fe9 100644 --- a/docker/build.dockerfile +++ b/docker/build.dockerfile @@ -1,8 +1,8 @@ ARG CPP_VERSION ARG EXAMPLES_VERSION # Base image is not re-built often and tag may lag behind -FROM faasm.azurecr.io/examples-base:0.6.0_0.4.0 AS base -FROM faasm.azurecr.io/cpp-sysroot:${CPP_VERSION:-dead} +FROM ghcr.io/faasm/examples-base:0.6.0_0.4.0 AS base +FROM ghcr.io/faasm/cpp-sysroot:${CPP_VERSION:-dead} SHELL ["/bin/bash", "-c"] ENV IN_DOCKER="on"