diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml index e48b3fd..37503c9 100644 --- a/.gitea/workflows/container.yaml +++ b/.gitea/workflows/container.yaml @@ -1,12 +1,23 @@ -name: Build Multiarch Container Image +name: Build Container Image on: [push] jobs: - call-reusable-workflow: - uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main - with: - repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref_name }} - sha: ${{ gitea.sha }} - registry_url: ${{ secrets.REGISTRY_URL }} - registry_user: ${{ secrets.REGISTRY_USER }} - registry_pw: ${{ secrets.REGISTRY_PW }} + build-container: + runs-on: buildah-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Build image + id: build-image + uses: redhat-actions/buildah-build@v2 + with: + image: docker.io/thallian/alpine-s6 + tags: ${{ gitea.ref_name }} ${{ gitea.sha }} latest + platforms: linux/aarch64, linux/x86_64 + containerfiles: | + ./Containerfile + - name: Log in to Dockerhub + uses: redhat-actions/podman-login@v1 + with: + registry: docker.io + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_PW }} diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..13bf6c9 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,11 @@ +pipeline: + publish-docker-image: + image: plugins/kaniko + settings: + repo: docker.io/thallian/alpine-s6 + tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre} + dockerfile: Dockerfile + username: + from_secret: DOCKER_USER + password: + from_secret: DOCKER_PW \ No newline at end of file