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
5 changes: 5 additions & 0 deletions .github/actions/build-ci-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ inputs:
tags:
default: null
required: true
registry:
default: "docker.io"
required: true
type: string
username:
default: null
required: true
Expand Down Expand Up @@ -68,6 +72,7 @@ runs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}

Expand Down
5 changes: 5 additions & 0 deletions .github/actions/merge-ci-images/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ inputs:
tags:
default: null
required: true
registry:
default: "docker.io"
required: true
type: string
username:
default: null
required: true
Expand Down Expand Up @@ -46,6 +50,7 @@ runs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}

Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:

env:
REGISTRY_IMAGE_ROOT: libfn/ci-build
REGISTRY_IMAGE_ROOT: libfn.azurecr.io/ci-build

jobs:
build:
Expand Down Expand Up @@ -59,8 +59,9 @@ jobs:
tags: |
type=raw,value=${{ env.RELEASE }}
type=sha,prefix=${{ env.RELEASE }}-sha-
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
build_args: |
GCC_RELEASE=${{ env.RELEASE }}
CLANG_RELEASE=${{ env.RELEASE }}
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
tags: |
type=raw,value=${{ env.RELEASE }}
type=sha,prefix=${{ env.RELEASE }}-sha-
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
title: "build-${{ env.COMPILER}}-${{ env.RELEASE }}"
12 changes: 7 additions & 5 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:

env:
REGISTRY_IMAGE: libfn/ci-docs
REGISTRY_IMAGE: libfn.azurecr.io/ci-docs

jobs:
build:
Expand All @@ -44,8 +44,9 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
context: "ci/docs"
title: "docs"
push: ${{ github.ref_type == 'branch' && github.ref_name == 'main' }}
Expand All @@ -69,6 +70,7 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
title: "docs"
12 changes: 7 additions & 5 deletions .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:

env:
REGISTRY_IMAGE: libfn/ci-pre-commit
REGISTRY_IMAGE: libfn.azurecr.io/ci-pre-commit

jobs:
build:
Expand All @@ -44,8 +44,9 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
context: "ci/pre-commit"
title: "pre-commit"
push: ${{ github.ref_type == 'branch' && github.ref_name == 'main' }}
Expand All @@ -69,6 +70,7 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: libfn.azurecr.io
username: ${{ secrets.AZURECR_NAME }}
password: ${{ secrets.AZURECR_PASS }}
title: "pre-commit"