Re-publish on Docker Hub

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
Pierre-Emmanuel Jacquier
2020-06-12 14:39:30 +02:00
parent 9ac6041406
commit 49d529d94c
4 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
FROM alpine:3.11.6
FROM alpine:3.12.0
RUN apk add ca-certificates
COPY iptv-proxy /
ENTRYPOINT ["/iptv-proxy"]

View File

@@ -16,8 +16,11 @@ jobs:
name: Unshallow
run: git fetch --prune --unshallow
-
name: Docker login
name: Github Docker login
run: echo ${{ secrets.GH_TOKEN }} | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
-
name: Docker Hub login
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
-
name: Set up Go
uses: actions/setup-go@v2

View File

@@ -6,6 +6,7 @@ builds:
- CGO_ENABLED=0
flags:
- -mod=vendor
- -a
goos:
- windows
- darwin
@@ -46,6 +47,7 @@ dockers:
- iptv-proxy
image_templates:
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}"
- "pierro777/iptv-proxy:{{ .Tag }}"
skip_push: false

View File

@@ -1,4 +1,6 @@
FROM golang:1.13.1-alpine
FROM golang:1.14.4-alpine
RUN apk add ca-certificates
WORKDIR /go/src/github.com/pierre-emmanuelJ/iptv-proxy
COPY . .