From b7838d5a014258afc505c46e0c37a123aba5af54 Mon Sep 17 00:00:00 2001 From: Lazy Hippopotamus Date: Wed, 5 Feb 2025 14:39:02 -0500 Subject: [PATCH] . --- .gitea/workflows/demo.yaml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 5e35c58..7ed5da8 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -6,16 +6,18 @@ jobs: Build-Docker-Image: runs-on: ubuntu-latest steps: - - name: Check out repository code - uses: actions/checkout@v4 - - name: setup buildah - run: sudo apt -y update; sudo apt install -y buildah - - name: Buildah - uses: redhat-actions/buildah-build@v2 + - name: Login to Docker Hub + uses: docker/login-action@v3 with: - image: act-runner-test - tags: ${{ gitea.sha }} - containerfiles: | - ./Containerfile - - name: print cwd - run: ls + registry: swaous.asuscomm.com + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: user/app:latest