Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Oct 12, 2023
1 parent ca1daa9 commit d50d202
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -37,7 +39,7 @@ jobs:
- name: Build nautilus_trader image (develop)
if: ${{ steps.branch-name.outputs.current_branch == 'develop' }}
id: docker_build_trader_develop
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
file: ".docker/nautilus_trader.dockerfile"
push: true
Expand All @@ -50,7 +52,7 @@ jobs:
- name: Build nautilus_trader image (latest)
if: ${{ steps.branch-name.outputs.current_branch == 'master' }}
id: docker_build_trader_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
file: ".docker/nautilus_trader.dockerfile"
push: true
Expand All @@ -63,7 +65,7 @@ jobs:
- name: Build jupyterlab image (develop)
if: ${{ steps.branch-name.outputs.current_branch == 'develop' }}
id: docker_build_jupyterlab_develop
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
file: ".docker/jupyterlab.dockerfile"
push: true
Expand All @@ -78,7 +80,7 @@ jobs:
- name: Build jupyterlab image (latest)
if: ${{ steps.branch-name.outputs.current_branch == 'master' }}
id: docker_build_jupyterlab_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
file: ".docker/jupyterlab.dockerfile"
push: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Get Rust version from rust-toolchain.toml
id: rust-version
Expand Down

0 comments on commit d50d202

Please sign in to comment.