feat: dont change on install
This commit is contained in:
@@ -25,7 +25,10 @@ tasks:
|
||||
|
||||
push:
|
||||
dir: gitea
|
||||
vars:
|
||||
TAG: git.maximhutz.com/web/git/gitea:latest
|
||||
cmds:
|
||||
- docker build -t web/git . -f Dockerfile --platform linux/amd64,linux/arm64
|
||||
- docker login code.maximhutz.com
|
||||
- docker login git.maximhutz.com -u max
|
||||
- defer: docker logout
|
||||
- docker build . -t {{.TAG}} -f Dockerfile --platform linux/amd64,linux/arm64
|
||||
- docker push {{.TAG}}
|
||||
|
||||
@@ -16,7 +16,7 @@ resource "aws_instance" "this" {
|
||||
subnet_id = module.vpc.public_subnets[0]
|
||||
|
||||
user_data = file("install.sh")
|
||||
user_data_replace_on_change = true
|
||||
user_data_replace_on_change = false
|
||||
|
||||
iam_instance_profile = data.aws_iam_instance_profile.ssm.name
|
||||
vpc_security_group_ids = [aws_security_group.public_access.id]
|
||||
|
||||
Reference in New Issue
Block a user