From 4cf890e8dd1544285dcff08ca737d8f9d4211bba Mon Sep 17 00:00:00 2001 From: Lazy Hippopotamus Date: Wed, 5 Feb 2025 15:01:57 -0500 Subject: [PATCH] hmmmmmm --- .gitea/workflows/demo.yaml | 13 ++++++------- Containerfile | 2 ++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 Containerfile diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index f9fa77f..f5e5091 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -5,6 +5,7 @@ on: [push] jobs: Build-Docker-Image: runs-on: ubuntu-latest + container: ghcr.io/catthehacker/ubuntu:act-latest steps: - name: Login to Docker Hub uses: docker/login-action@v3 @@ -12,10 +13,8 @@ jobs: registry: swaous.asuscomm.com username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - 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 + - name: Build + run: | + docker build -t swaous.asuscomm.com/act-runner-test:${{ gitea.sha }} . + docker push swaous.asuscomm.com/act-runner-test:${{ gitea.sha }} + echo "pushed swaous.asuscomm.com/act-runner-test:${{ gitea.sha }} diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..9fd5fbb --- /dev/null +++ b/Containerfile @@ -0,0 +1,2 @@ +FROM alpine:latest +CMD ["echo", "\"hello world\""]