From 7a0c81c5a79e228f8dfd1711bfc852e67c6e2346 Mon Sep 17 00:00:00 2001 From: Tom Andrade Date: Tue, 29 Aug 2023 14:18:03 +0200 Subject: [PATCH] test: Gtiea Actions --- .gitea/workflows/build-and-push.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/build-and-push.yaml diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml new file mode 100644 index 0000000..0472871 --- /dev/null +++ b/.gitea/workflows/build-and-push.yaml @@ -0,0 +1,21 @@ +name: Build Image using Dockerfile +on: [push] + +jobs: + build: + name: Build image + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Buildah Action + uses: redhat-actions/buildah-build@v2 + with: + image: my-new-image + tags: v1 ${{ github.sha }} + containerfiles: | + ./Dockerfile + build-args: | + TARGETARCH=amd64 + BUILD_DATE=$(date +%Y%m%d%H%M) \ No newline at end of file