move to gitea actions
This commit is contained in:
parent
6170fbca8f
commit
e204c8b155
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal file
@ -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 }}
|
@ -1,11 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
publish-docker-image:
|
|
||||||
image: plugins/kaniko
|
|
||||||
settings:
|
|
||||||
repo: docker.io/thallian/confd-env
|
|
||||||
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USER
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PW
|
|
@ -11,7 +11,7 @@ WORKDIR $GOPATH/src/github.com/kelseyhightower/confd
|
|||||||
RUN git checkout v0.16.0
|
RUN git checkout v0.16.0
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
FROM docker.io/thallian/alpine-s6:3.18-3.1.5.0
|
FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2
|
||||||
|
|
||||||
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user