docker cicd
Build Docker Image / Build (push) Has been cancelled
Details
Build Docker Image / Build (push) Has been cancelled
Details
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>cicd
parent
0ff5419c23
commit
68d7cbd32e
|
@ -12,7 +12,17 @@ jobs:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: [ubuntu-latest, aya01]
|
runs-on: [ubuntu-latest, aya01]
|
||||||
steps:
|
steps:
|
||||||
- uses: docker/setup-buildx-action@v3
|
- name: Set up QEMU
|
||||||
- uses: docker/build-push-action@v5
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
tags: tudattr/athome:latest
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: user/app:latest
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM rust:1.79.0 AS dioxus
|
FROM rust:1.80.1 AS dioxus
|
||||||
RUN cargo install dioxus-cli@^0.5
|
RUN cargo install dioxus-cli@^0.5
|
||||||
|
|
||||||
FROM dioxus AS builder
|
FROM dioxus AS builder
|
||||||
|
|
Loading…
Reference in New Issue