parent
1e116ad19a
commit
96244a6a74
2 changed files with 5 additions and 6 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
username: ${{ secrets.MYCO_REGISTRY_USER }}
|
||||
password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and Push Extended Version
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
platforms: linux/amd64
|
||||
push: true
|
||||
build-args: |
|
||||
ZOLA_RELEASE_VERSION=v0.20.0
|
||||
ZOLA_VERSION=v0.20.0
|
||||
tags: |
|
||||
fung.uy/mycosystems/zola-ci:latest
|
||||
fung.uy/mycosystems/zola-ci:0.20.0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM rust:slim-bookworm AS builder
|
||||
|
||||
ARG USE_GH_RELEASE=true
|
||||
ARG ZOLA_RELEASE_VERSION=latest
|
||||
ARG ZOLA_VERSION
|
||||
RUN apt-get update -y && \
|
||||
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
|
||||
|
||||
FROM gcr.io/distroless/cc-debian12
|
||||
FROM docker.io/alpine:3.2
|
||||
COPY --from=builder /app/zola /bin/zola
|
||||
RUN apt-get update -y && \
|
||||
apt-get install rsync
|
||||
RUN apk update && apk add --no-cache rsync
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "-l", "-c"]
|
||||
|
|
Loading…
Add table
Reference in a new issue