update
All checks were successful
Build And Publish Docker / build-latest (push) Successful in 3m55s

This commit is contained in:
brooke 2025-04-13 16:44:41 -04:00
parent 1e116ad19a
commit 96244a6a74
2 changed files with 5 additions and 6 deletions

View file

@ -26,7 +26,7 @@ jobs:
username: ${{ secrets.MYCO_REGISTRY_USER }} username: ${{ secrets.MYCO_REGISTRY_USER }}
password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }} password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }}
- name: Build and Push Extended Version - name: Build and Push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
@ -35,7 +35,7 @@ jobs:
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
build-args: | build-args: |
ZOLA_RELEASE_VERSION=v0.20.0 ZOLA_VERSION=v0.20.0
tags: | tags: |
fung.uy/mycosystems/zola-ci:latest fung.uy/mycosystems/zola-ci:latest
fung.uy/mycosystems/zola-ci:0.20.0 fung.uy/mycosystems/zola-ci:0.20.0

View file

@ -1,7 +1,7 @@
FROM rust:slim-bookworm AS builder FROM rust:slim-bookworm AS builder
ARG USE_GH_RELEASE=true ARG USE_GH_RELEASE=true
ARG ZOLA_RELEASE_VERSION=latest ARG ZOLA_VERSION
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y pkg-config make g++ libssl-dev curl jq tar gzip apt-get install -y pkg-config make g++ libssl-dev curl jq tar gzip
@ -18,9 +18,8 @@ RUN if [ "${USE_GH_RELEASE}" = "true" ]; then \
RUN ./zola --version RUN ./zola --version
FROM gcr.io/distroless/cc-debian12 FROM docker.io/alpine:3.2
COPY --from=builder /app/zola /bin/zola COPY --from=builder /app/zola /bin/zola
RUN apt-get update -y && \ RUN apk update && apk add --no-cache rsync
apt-get install rsync
ENTRYPOINT ["/bin/bash", "-l", "-c"] ENTRYPOINT ["/bin/bash", "-l", "-c"]