Skip to content

Commit

Permalink
now build only on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Aug 16, 2024
1 parent 641b59c commit 58db89a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_push_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and publish demo image

on:
push:
# tags:
# - '*'
tags:
- '*'

## GITHUB_TOKEN authentication
permissions:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCH=amd64; elif [ "$TARGETPL

# build nginx with only the bare minimum of features or modules
# Note: no need to chain the RUN commands here as it's a builder image and nothing will be kept
FROM alpine:3.19 as nginx-builder
FROM alpine:3.19 AS nginx-builder

ENV NGINX_VERSION=1.26.1
# pin nginx modules versions
Expand Down Expand Up @@ -121,7 +121,7 @@ USER root
RUN make install

# CRONIE BUILDER
FROM alpine:3.19 as cronie-builder
FROM alpine:3.19 AS cronie-builder
ENV CRONIE_VERSION=1.5.7
# install dependencies
RUN apk add --no-cache build-base libc-dev make gcc autoconf automake abuild musl-obstack-dev
Expand Down

0 comments on commit 58db89a

Please sign in to comment.