diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index dfa151c..61ced92 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -8,13 +8,12 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: set docker host - run: export DOCKER_HOST=$XDG_RUNTIME_DIR/docker.sock - - uses: mr-smithers-excellent/docker-build-push@v6 - name: Build & push Docker image + - name: Buildah + uses: redhat-actions/buildah-build@v2 with: image: act-runner-test - registry: swaous.asuscomm.com - dockerfile: Dockerfile - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + tags: ${{ gitea.sha }} + containerfiles: | + ./Containerfile + - name: print cwd + run: ls diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9fd5fbb..0000000 --- a/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM alpine:latest -CMD ["echo", "\"hello world\""]