parent
4fc34dacaa
commit
1890b12806
1 changed files with 20 additions and 18 deletions
|
@ -5,26 +5,28 @@ on:
|
|||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
my-job:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Rust
|
||||
uses: https://github.com/actions-rs/toolchain@v1
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: https://github.com/docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt
|
||||
registry: gitea.mrdev023.fr
|
||||
username: ${{ secrets.GITEA_USERNAME }}
|
||||
password: ${{ secrets.GITEA_PASSWORD }}
|
||||
|
||||
- name: Add wasm32-unknown-unknown
|
||||
run: rustup target add wasm32-unknown-unknown
|
||||
|
||||
- name: Add cargo-letpos
|
||||
run: cargo install -j 1 cargo-leptos
|
||||
|
||||
- name: Install Node.js
|
||||
uses: https://github.com/actions/setup-node@v4
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
node-version: 19
|
||||
|
||||
- name: my-step
|
||||
run: echo "Hello World 2!"
|
||||
context: .
|
||||
push: true
|
||||
tags: gitea.mrdev023.fr/mrdev023/portfolio:latest
|
Loading…
Reference in a new issue