docker cicd
Build Docker Image / Build (push) Has been cancelled Details

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
cicd
Tuan-Dat Tran 2024-08-31 21:56:25 +02:00
parent 0ff5419c23
commit 68d7cbd32e
2 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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