From 1fa557838bae6ca3e5cefeceef97f5fc60f0c14e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 17 Jun 2024 15:58:50 +1000 Subject: [PATCH] feat: Finish auto naming --- .gitea/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4a9988c..fe20ab7 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -38,12 +38,12 @@ jobs: repo=$GITHUB_REPOSITORY # Remove the org name repo=${repo#*/} - echo "repo=$repo" + echo "container=$repo" - docker build -t go-webserver-template:$tag_num . - docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num - docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num - docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag - docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag \ No newline at end of file + docker build -t $repo:$tag_num . + docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag_num + docker push git.woodburn.au/nathanwoodburn/$repo:$tag_num + docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag + docker push git.woodburn.au/nathanwoodburn/$repo:$tag \ No newline at end of file