-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,10 +22,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: "3.9" | ||
|
||
|
@@ -42,15 +42,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: "3.9" | ||
|
||
|
@@ -108,7 +108,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Download client | ||
uses: actions/[email protected] | ||
|
@@ -117,18 +117,18 @@ jobs: | |
path: client/dist | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Log in to the Github Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build Spoolman | ||
if: ${{ github.event_name != 'pull_request' }} | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: . | ||
tags: ${{ env.IMAGE_NAME }}:test | ||
|
@@ -139,7 +139,7 @@ jobs: | |
# Separate build for pull requests since PRs dont have access to store cache | ||
- name: Build Spoolman (PR) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: . | ||
tags: ${{ env.IMAGE_NAME }}:test | ||
|
@@ -158,21 +158,21 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Log in to the Github Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build Spoolman Tester | ||
if: ${{ github.event_name != 'pull_request' }} | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: ./tests_integration | ||
tags: ${{ env.IMAGE_NAME }}-tester:latest | ||
|
@@ -183,7 +183,7 @@ jobs: | |
# Separate build for pull requests since PRs dont have access to store cache | ||
- name: Build Spoolman Tester (PR) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: ./tests_integration | ||
tags: ${{ env.IMAGE_NAME }}-tester:latest | ||
|
@@ -206,7 +206,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Download built images | ||
uses: actions/[email protected] | ||
|
@@ -235,7 +235,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Download client | ||
uses: actions/[email protected] | ||
|
@@ -244,20 +244,20 @@ jobs: | |
path: client/dist | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Log in to the Github Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and cache Docker image | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: . | ||
platforms: linux/arm64 | ||
|
@@ -274,7 +274,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Download client | ||
uses: actions/[email protected] | ||
|
@@ -283,20 +283,20 @@ jobs: | |
path: client/dist | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Log in to the Github Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and cache Docker image | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: . | ||
platforms: linux/arm/v7 | ||
|
@@ -312,7 +312,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
|
||
- name: Download client | ||
uses: actions/[email protected] | ||
|
@@ -321,21 +321,21 @@ jobs: | |
path: client/dist | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
uses: docker/setup-qemu-action@v3.2.0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3.6.1 | ||
|
||
- name: Log in to the Github Container registry | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3.3.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
uses: docker/metadata-action@v5.5.1 | ||
with: | ||
images: | | ||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
@@ -351,7 +351,7 @@ jobs: | |
echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "$GITHUB_ENV" | ||
- name: Build and push Docker images | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@v6.7.0 | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters