diff --git a/.github/workflows/provide-docker-images.yml b/.github/workflows/provide-docker-images.yml index 68b7c3b..994efa2 100644 --- a/.github/workflows/provide-docker-images.yml +++ b/.github/workflows/provide-docker-images.yml @@ -2,6 +2,7 @@ name: Provide needed docker images in ghcr.io on: workflow_dispatch: + push: env: REGISTRY_IMAGE: ghcr.io/novatecconsulting/opentelemetry-training diff --git a/tutorial/Dockerfile b/tutorial/Dockerfile index 4761136..b778657 100644 --- a/tutorial/Dockerfile +++ b/tutorial/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.21-alpine as base +FROM golang:1.21-alpine AS base RUN apk add --update --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \ bash \ hugo -FROM base as rt-dev +FROM base AS rt-dev WORKDIR /workspace @@ -13,7 +13,7 @@ COPY --chmod=0755 entrypoint.sh /tmp CMD [ "sh", "-c", "/tmp/entrypoint.sh" ] -FROM base as builder +FROM base AS builder WORKDIR /opt/app @@ -24,7 +24,7 @@ RUN wget -qO- https://github.com/McShelby/hugo-theme-relearn/archive/main.zip | RUN hugo -FROM nginx:1.25-alpine as rt +FROM nginx:1.25-alpine AS rt ARG USER=otel