Skip to content

Commit

Permalink
ci: no longer saving staging versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Jan 12, 2025
1 parent 8e5c655 commit 550410a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 550410a

Please sign in to comment.