Skip to content

Commit

Permalink
chore: update docker job
Browse files Browse the repository at this point in the history
  • Loading branch information
tlebon committed Jan 25, 2024
1 parent 3ac1c04 commit 03759d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test, Build & Deploy

on:
push:
branches: [staging, main]
branches: [staging, main, release/*]
tags:
- v*

Expand Down Expand Up @@ -74,6 +74,10 @@ jobs:
wire_builds_target_branches='["dev"]'
fi
if [ "$version_tag" == "release/q1-2024" ]; then
wire_builds_target_branches='["q1-2024"]'
fi
echo "wire_builds_target_branches: $wire_builds_target_branches"
echo "wire_builds_target_branches=$wire_builds_target_branches" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion bin/push_docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const pkg = require('../package.json');
/** Either empty (for our own cloud releases) or a suffix (i.e. "ey") for custom deployments */
const distributionParam = process.argv[2];
/** Either "staging" (for internal releases / staging bumps) or "production" (for cloud releases) */
const stageParam = process.argv[3];
const stageParam = process.argv[3].replace('/', '-');
/** Commit ID of https://github.com/wireapp/wire-team-settings (i.e. "fb2f4f47f1e3eab3cd8df62c5cea6441cfb6f279") */
const commitSha = process.argv[4];

Expand Down

0 comments on commit 03759d2

Please sign in to comment.