Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
f495c17d6b | |||
46931a44fc | |||
ad5b483fb5 | |||
cd1c06a8f0 | |||
546f9ebfb7 | |||
212e5475fc | |||
7b70cf6f82 | |||
1c4ecb41fb |
@ -40,7 +40,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.ref_type == 'tag' }}
|
push: ${{ github.ref_type == 'tag' }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.22.4-alpine AS build-stage
|
FROM golang:1.22.6-alpine AS build-stage
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -10,12 +10,12 @@ COPY *.go ./
|
|||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /entrypoint
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /entrypoint
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.12.3-alpine AS runtime-stage
|
FROM python:3.12.5-alpine AS runtime-stage
|
||||||
|
|
||||||
RUN apk --no-cache add git openssh tar
|
RUN apk --no-cache add git openssh tar
|
||||||
|
|
||||||
# renovate: datasource=pypi depName=ansible
|
# renovate: datasource=pypi depName=ansible
|
||||||
ENV ANSIBLE_VERSION=10.0.0
|
ENV ANSIBLE_VERSION=10.2.0
|
||||||
RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION} dnspython passlib netaddr requests uptime-kuma-api
|
RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION} dnspython passlib netaddr requests uptime-kuma-api
|
||||||
|
|
||||||
COPY --from=build-stage /entrypoint /bin/entrypoint
|
COPY --from=build-stage /entrypoint /bin/entrypoint
|
||||||
|
Loading…
Reference in New Issue
Block a user