mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-04-01 19:33:50 +01:00
upd vars
This commit is contained in:
parent
916d2a2d86
commit
16e5e9c010
@ -1,16 +1,19 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
|
vars:
|
||||||
|
IMAGE: q3rcon-proxy
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
build:
|
build:
|
||||||
desc: Build the Docker image
|
desc: Build the Docker image
|
||||||
cmds:
|
cmds:
|
||||||
- docker build -t q3rcon-proxy -f docker/Dockerfile .
|
- docker build -t {{.IMAGE}} -f docker/Dockerfile .
|
||||||
dir: .
|
dir: .
|
||||||
|
|
||||||
login:
|
login:
|
||||||
desc: Login to Github Container Registry
|
desc: Login to Github Container Registry
|
||||||
cmds:
|
cmds:
|
||||||
- docker login ghcr.io -u onyx-and-iris --password-stdin <<< {{.GHCR_TOKEN}}
|
- docker login ghcr.io -u {{.GHCR_USER}} --password-stdin <<< {{.GHCR_TOKEN}}
|
||||||
internal: true
|
internal: true
|
||||||
|
|
||||||
push:
|
push:
|
||||||
@ -19,5 +22,5 @@ tasks:
|
|||||||
- task: build
|
- task: build
|
||||||
- task: login
|
- task: login
|
||||||
cmds:
|
cmds:
|
||||||
- docker tag q3rcon-proxy ghcr.io/onyx-and-iris/q3rcon-proxy:latest
|
- docker tag {{.IMAGE}} ghcr.io/{{.GHCR_USER}}/{{.IMAGE}}:latest
|
||||||
- docker push ghcr.io/onyx-and-iris/q3rcon-proxy:latest
|
- docker push ghcr.io/{{.GHCR_USER}}/{{.IMAGE}}:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user