Skip to content

Commit

Permalink
feat: update to latest deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtoj committed Jun 5, 2024
1 parent cb93d7b commit 664e651
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/yopass-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# --------------------------------------------------------------------- base ---

FROM golang:1.22.1 as base
FROM golang:1.22 as base

ARG YOPASS_VERSION=latest

Expand Down
4 changes: 3 additions & 1 deletion assets/yopass-website/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# --------------------------------------------------------------------- base ---

FROM node:18 as base
FROM node:20 as base

RUN mkdir -p /opt/app
WORKDIR /opt/app

ARG YOPASS_VERSION=latest

RUN git clone https://github.com/jhaals/yopass.git .
RUN if [ "$YOPASS_VERSION" != "latest" ] ; then git checkout $YOPASS_VERSION ; fi

Expand Down
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "random_string" "yopass_random_suffix" {

module "yopass_website_assets" {
source = "cruxstack/artifact-packager/docker"
version = "1.3.6"
version = "1.3.7"

attributes = ["website"]
artifact_src_path = "/tmp/package.zip"
Expand All @@ -54,7 +54,7 @@ module "yopass_website_assets" {

module "yopass_website" {
source = "cloudposse/cloudfront-s3-cdn/aws"
version = "0.92.0"
version = "0.94.0"

aliases = [var.website_domain_name]
acm_certificate_arn = var.website_certificate_arn
Expand Down Expand Up @@ -125,7 +125,7 @@ module "yopass_website" {

module "yopass_website_uploader" {
source = "cruxstack/s3-zip-uploader/aws"
version = "1.3.0"
version = "1.3.1"

artifact_dst_bucket_arn = module.yopass_website.s3_bucket_arn
artifact_src_local_path = module.yopass_website_assets.artifact_package_path
Expand Down Expand Up @@ -168,7 +168,7 @@ data "aws_cloudfront_response_headers_policy" "cors_preflight_hsts" {

module "cloudfront_middleware_at_edge" {
source = "cruxstack/cloudfront-middleware-at-edge/aws"
version = "0.3.3"
version = "0.3.4"

enabled = var.auth_enabled
attributes = ["mw"]
Expand All @@ -192,7 +192,7 @@ module "cloudfront_middleware_at_edge" {

module "yopass_server_code" {
source = "cruxstack/artifact-packager/docker"
version = "1.3.6"
version = "1.3.7"

attributes = ["server"]
artifact_src_path = "/tmp/package.zip"
Expand Down

0 comments on commit 664e651

Please sign in to comment.