Skip to content

Commit 8964814

Browse files
author
Jener Rasmussen
committedDec 15, 2021
Fix incorrect use of buildContainer
1 parent 06f07b3 commit 8964814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ func (this *UpdateWatcher) buildContainerAndPublish() (string, int, error) {
323323
// build CS:GO container image with game preinstalled
324324
tempTag := this.BaseImageName + ":temp-" + uuid.NewString()
325325
err := this.buildContainer(
326-
tempTag,
327326
this.BaseImageName+":base",
327+
tempTag,
328328
"Dockerfile-preinstall",
329329
)
330330
if err != nil {
@@ -346,8 +346,8 @@ func (this *UpdateWatcher) buildContainerAndPublish() (string, int, error) {
346346
// build get5 container
347347
get5TaggedImage := this.BaseImageName + ":get5-buildid-" + strconv.Itoa(buildid)
348348
err = this.buildContainer(
349-
get5TaggedImage,
350349
taggedImage,
350+
get5TaggedImage,
351351
"Dockerfile-get5",
352352
)
353353
if err != nil {

0 commit comments

Comments
 (0)