diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml new file mode 100644 index 0000000..e48b3fd --- /dev/null +++ b/.gitea/workflows/container.yaml @@ -0,0 +1,12 @@ +name: Build Multiarch 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 }} diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 3c6326f..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,11 +0,0 @@ -pipeline: - publish-docker-image: - image: plugins/kaniko - settings: - repo: docker.io/thallian/molly-brown - 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 diff --git a/Dockerfile b/Containerfile similarity index 69% rename from Dockerfile rename to Containerfile index ba2d8c0..ab749a6 100644 --- a/Dockerfile +++ b/Containerfile @@ -1,11 +1,11 @@ -FROM docker.io/golang:1.17.11-alpine3.16 AS builder +FROM docker.io/golang:1.21-alpine3.19 AS builder ENV GO111MODULE=on -ENV VERSION=48f9a206c03c0470e1c132b9667c6daa3583dada -RUN go get tildegit.org/solderpunk/molly-brown@$VERSION +ENV VERSION=2068c3b02abf8f6a9160d1891d16a5237ab77a1b +RUN go install tildegit.org/solderpunk/molly-brown@$VERSION -FROM docker.io/thallian/confd-env:3.17 +FROM docker.io/thallian/confd-env:3.19-3.1.6.2 RUN addgroup -g 2222 molly-brown RUN adduser -h /home/molly-brown -S -D -u 2222 -G molly-brown molly-brown