workflow fix

This commit is contained in:
Kwitsch 2022-09-14 14:04:25 +02:00
parent 0c653c91fc
commit 37b1af2376
2 changed files with 3 additions and 5 deletions

View File

@ -122,8 +122,8 @@ jobs:
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max
build-args: |
VERSION=${{ steps.get_arg.outputs.version }}
BUILD_TIME=${{ steps.get_arg.outputs.build_time }}
VERSION=${{ steps.get_args.outputs.version }}
BUILD_TIME=${{ steps.get_args.outputs.build_time }}
retag:
name: Add DockerHub tag

View File

@ -1,10 +1,8 @@
ARG VERSION
ARG BUILD_TIME
# prepare build environment
FROM golang:1-alpine AS build-env
ARG VERSION
ARG BUILD_TIME
# add blocky user
RUN adduser -S -D -H -h /app -s /sbin/nologin blocky
RUN tail -n 1 /etc/passwd > /tmp/blocky_passwd