Skip to content

Commit

Permalink
docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Oct 18, 2023
1 parent b40bb44 commit 3b58292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_SERVICES_{0}', env.TARGET_ENV_UPPERCASE)] }}
AWS_DEFAULT_REGION: us-west-2

TF_VAR_hydrocronapi_api_docker_image: "ghcr.io/podaac/hydrocron:${{ env.THE_VERSION }}"

run: |
echo "-------"
echo ${{ env.THE_ENV }}
echo ${{ env.THE_VERSION }}
export docker_tag=$(./docker/build-docker.sh -n podaac-hydrocron -v 1.0.0)
./docker/push-docker-ecr.sh -v ${{ env.THE_ENV }} -t ${build_info.docker_tag}
terraform init -reconfigure -backend-config="bucket=podaac-services-sit-terraform" -backend-config="region=us-west-2"
terraform plan -var-file=tfvars/${{ env.THE_ENV }}.tfvars -var="app_version=${{ env.THE_VERSION }}" -out="tfplan"
terraform apply -auto-approve tfplan
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ variable "profile" {
}

variable "docker_tag" {
default = "podaac/podaac-cloud/podaac-hydrocron"
default = "podaac/podaac-cloud/podaac-hydrocron:latest"
}

variable "service_name" {
Expand Down

0 comments on commit 3b58292

Please sign in to comment.