Skip to content

Commit 1585f5a

Browse files
committed
us-west-2
1 parent 420d894 commit 1585f5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/docker-build-simple.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Docker manifest #{name}/Dockerfile
44
// ECR repository: #{name}
55

6-
function(name) {
6+
function(name, region='ap-northeast-1') {
77
name: std.format('docker-%s', name),
88
on: {
99
push: {
@@ -25,7 +25,7 @@ function(name) {
2525
{
2626
uses: 'aws-actions/configure-aws-credentials@v1',
2727
with: {
28-
'aws-region': 'ap-northeast-1',
28+
'aws-region': region,
2929
'role-to-assume': 'arn:aws:iam::005216166247:role/GhaDockerPush',
3030
'role-skip-session-tagging': true,
3131
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(import './docker-build-simple.libsonnet')('slack-thread-expander')
1+
(import './docker-build-simple.libsonnet')('slack-thread-expander', 'us-west-2')

.github/workflows/docker-slack-thread-expander.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{
1818
"uses": "aws-actions/configure-aws-credentials@v1",
1919
"with": {
20-
"aws-region": "ap-northeast-1",
20+
"aws-region": "us-west-2",
2121
"role-skip-session-tagging": true,
2222
"role-to-assume": "arn:aws:iam::005216166247:role/GhaDockerPush"
2323
}

0 commit comments

Comments
 (0)