This commit is contained in:
parent
8c0dbfb6c9
commit
08d1d12423
@ -14,6 +14,19 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
|
- name: Install Rust tools (if needed)
|
||||||
|
run: |
|
||||||
|
# Install any specific Rust tools required for your build
|
||||||
|
# For example:
|
||||||
|
# rustup default stable
|
||||||
|
# rustup component add clippy rustfmt
|
||||||
|
# cargo install cargo-audit
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
@ -33,16 +46,3 @@ jobs:
|
|||||||
cache-from: type=registry,ref=git.hofer.link/philipp/ci-images:rust-latest-cache
|
cache-from: type=registry,ref=git.hofer.link/philipp/ci-images:rust-latest-cache
|
||||||
cache-to: type=registry,ref=git.hofer.link/philipp/ci-images:rust-latest-cache,mode=max
|
cache-to: type=registry,ref=git.hofer.link/philipp/ci-images:rust-latest-cache,mode=max
|
||||||
|
|
||||||
# You can add more jobs for other Docker images
|
|
||||||
# Example:
|
|
||||||
# build-another-image:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# # Similar steps as above
|
|
||||||
# - name: Build and push another-image
|
|
||||||
# uses: docker/build-push-action@v4
|
|
||||||
# with:
|
|
||||||
# context: ./another-image-dir
|
|
||||||
# push: true
|
|
||||||
# tags: git.hofer.link/philipp/ci-images:another-image
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user