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