From 550410a74347834d68b77cab7fe7d184e2e18bc8 Mon Sep 17 00:00:00 2001 From: dd84ai Date: Sun, 12 Jan 2025 08:14:02 +0100 Subject: [PATCH] ci: no longer saving staging versions --- .github/workflows/docker-staging.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/docker-staging.yml b/.github/workflows/docker-staging.yml index 420cfea..eac565f 100644 --- a/.github/workflows/docker-staging.yml +++ b/.github/workflows/docker-staging.yml @@ -34,15 +34,12 @@ jobs: - name: Build image darkwind8/darkbot run: | set -ex - export tag_version=${{ steps.version.outputs.BUILD_VERSION }} + export tag_version=staging docker build --build-arg "BUILD_VERSION=$tag_version" --tag darkwind8/darkbot:$tag_version . - docker tag darkwind8/darkbot:$tag_version darkwind8/darkbot:staging docker push darkwind8/darkbot:$tag_version sleep 5 - docker push darkwind8/darkbot:staging - sleep 5 - name: Switch service image darkwind8/darkbot for swarm to new one run: | set -ex