Skip to content

Commit 59d4d2c

Browse files
authored
docker: move from acr to ghcr (#53)
1 parent 20b7696 commit 59d4d2c

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
- name: "Log in to DockerHub"
3939
uses: docker/login-action@v3
4040
with:
41-
registry: faasm.azurecr.io
42-
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
43-
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
41+
registry: ghcr.io
42+
username: faasm
43+
password: ${{ secrets.GHCR_PAT }}
4444
- name: "Build and push examples-build image"
4545
uses: docker/build-push-action@v4
4646
with:
@@ -51,4 +51,4 @@ jobs:
5151
EXAMPLES_VERSION=${{ env.EXAMPLES_VERSION }}
5252
PYTHON_VERSION=${{ env.PYTHON_VERSION }}
5353
context: .
54-
tags: faasm.azurecr.io/examples-build:${{ env.EXAMPLES_VERSION }}
54+
tags: ghcr.io/faasm/examples-build:${{ env.EXAMPLES_VERSION }}

.github/workflows/tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ jobs:
6161
if: ${{ needs.needs-build.outputs.needs-wasm == 'true' }}
6262
runs-on: ubuntu-latest
6363
container:
64-
image: faasm.azurecr.io/examples-build:0.6.0_0.4.0
65-
credentials:
66-
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
67-
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
64+
image: ghcr.io/faasm/examples-build:0.6.0_0.4.0
6865
steps:
6966
- name: "Checkout code"
7067
uses: actions/checkout@v4

docker/build.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ARG CPP_VERSION
22
ARG EXAMPLES_VERSION
33
# Base image is not re-built often and tag may lag behind
4-
FROM faasm.azurecr.io/examples-base:0.6.0_0.4.0 AS base
5-
FROM faasm.azurecr.io/cpp-sysroot:${CPP_VERSION:-dead}
4+
FROM ghcr.io/faasm/examples-base:0.6.0_0.4.0 AS base
5+
FROM ghcr.io/faasm/cpp-sysroot:${CPP_VERSION:-dead}
66

77
SHELL ["/bin/bash", "-c"]
88
ENV IN_DOCKER="on"

0 commit comments

Comments
 (0)