Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
- name: "Log in to DockerHub"
uses: docker/login-action@v2
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 cpython container"
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
context: .
tags: faasm.azurecr.io/cpython:${{ env.TAG_VERSION }}
tags: ghcr.io/faasm/cpython:${{ env.TAG_VERSION }}
build-args: FAASM_PYTHON_VERSION=${{ env.TAG_VERSION }}
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container:
image: faasm.azurecr.io/cpython:0.4.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
image: ghcr.io/faasm/cpython:0.4.0
steps:
- name: "Fetch code"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
# We need to set the safe git directory as formatting relies on git-ls
Expand All @@ -44,16 +41,13 @@ jobs:
REDIS_QUEUE_HOST: redis
REDIS_STATE_HOST: redis
container:
image: faasm.azurecr.io/cpython:0.4.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
image: ghcr.io/faasm/cpython:0.4.0
services:
redis:
image: redis
steps:
- name: "Fetch code"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: "Build Python function"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM faasm.azurecr.io/cpp-sysroot:0.4.0
FROM ghcr.io/faasm/cpp-sysroot:0.4.0
ARG FAASM_PYTHON_VERSION

SHELL ["/bin/bash", "-c"]
Expand Down
4 changes: 2 additions & 2 deletions tasks/docker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from faasmtools.docker import (
ACR_NAME,
CR_NAME,
build_container,
push_container,
)
Expand All @@ -10,7 +10,7 @@
get_version,
)

CONTAINER_IMAGE = "{}/cpython".format(ACR_NAME)
CONTAINER_IMAGE = "{}/cpython".format(CR_NAME)
DOCKERFILE = join(PROJ_ROOT, "Dockerfile")


Expand Down