Skip to content
Open
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
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: [self-hosted, ubuntu, x64]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# Check out full history for `setuptools_scm`
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
check-latest: true
Expand Down Expand Up @@ -99,23 +99,23 @@ jobs:
file_handle.write(f"{key}={value}\n")

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
if: ${{ steps.metadata.outputs.push == 'true' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
if: ${{ steps.metadata.outputs.push == 'true' }}
with:
registry: ${{ secrets.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- name: Build container
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
cache-from: ${{ steps.metadata.outputs.cache_from }}
cache-to: ${{ steps.metadata.outputs.cache_to }}
Expand All @@ -131,7 +131,7 @@ jobs:

- name: Push container to registry
if: ${{ steps.metadata.outputs.push == 'true' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
cache-from: ${{ steps.metadata.outputs.cache_from }}
context: "."
Expand Down