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