mirror of https://github.com/0xERR0R/blocky.git
workflow fix
This commit is contained in:
parent
0c653c91fc
commit
37b1af2376
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue