Skip to content

Commit

Permalink
Merge pull request #87 from jeffkause/HTTPS-watermark-Update
Browse files Browse the repository at this point in the history
Fix HTTPS watermark
  • Loading branch information
jsf9k authored Nov 20, 2023
2 parents db0a75a + ed903e4 commit 58d1067
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ expects the secrets in a different location.
To run the `cisagov/pshtt_reporter` image via Docker:

```console
docker run cisagov/pshtt_reporter:1.2.13
docker run cisagov/pshtt_reporter:1.2.14
```

### Running with Docker Compose ###
Expand All @@ -43,7 +43,7 @@ docker run cisagov/pshtt_reporter:1.2.13

services:
pshtt_reporter:
image: cisagov/pshtt_reporter:1.2.13
image: cisagov/pshtt_reporter:1.2.14
volumes:
- type: bind
source: <your_log_dir>
Expand Down Expand Up @@ -89,7 +89,7 @@ environment variables. See the
services:
pshtt_reporter:
image: cisagov/pshtt_reporter:1.2.13
image: cisagov/pshtt_reporter:1.2.14
volumes:
- type: bind
source: <your_log_dir>
Expand Down Expand Up @@ -126,7 +126,7 @@ environment variables. See the
1. Pull the new image:

```console
docker pull cisagov/pshtt_reporter:1.2.13
docker pull cisagov/pshtt_reporter:1.2.14
```

1. Recreate and run the container by following the [previous instructions](#running-with-docker).
Expand All @@ -136,11 +136,11 @@ environment variables. See the
The images of this container are tagged with [semantic
versions](https://semver.org) of the underlying example project that they
containerize. It is recommended that most users use a version tag (e.g.
`:1.2.13`).
`:1.2.14`).

| Image:tag | Description |
|-----------|-------------|
|`cisagov/pshtt_reporter:1.2.13`| An exact release version. |
|`cisagov/pshtt_reporter:1.2.14`| An exact release version. |
|`cisagov/pshtt_reporter:1.2`| The most recent release matching the major and minor version numbers. |
|`cisagov/pshtt_reporter:1`| The most recent release matching the major version number. |
|`cisagov/pshtt_reporter:edge` | The most recent image built from a merge into the `develop` branch of this repository. |
Expand Down Expand Up @@ -204,7 +204,7 @@ Build the image locally using this git repository as the [build context](https:/

```console
docker build \
--tag cisagov/pshtt_reporter:1.2.13 \
--tag cisagov/pshtt_reporter:1.2.14 \
https://github.com/cisagov/pshtt_reporter.git#develop
```

Expand Down Expand Up @@ -235,7 +235,7 @@ Docker:
--file Dockerfile-x \
--platform linux/amd64 \
--output type=docker \
--tag cisagov/pshtt_reporter:1.2.13 .
--tag cisagov/pshtt_reporter:1.2.14 .
```

## Contributing ##
Expand Down
20 changes: 13 additions & 7 deletions src/report/https_scan_report.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% DHS Image Watermark
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[pages=some]{background}
\backgroundsetup{
contents={\includegraphics{assets/dhs-logo}},
angle=0,
scale=3.0,
opacity=0.04
}
\usepackage{background}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% URL and Link Setup
Expand Down Expand Up @@ -343,6 +337,18 @@ opacity=0.04
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Table of Contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% DHS Image Watermark
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The watermarks are known to be acting a little wonky. I created
% cisagov/trustymail_reporter#54 to document this.
\backgroundsetup{
pages=some,
contents=\includegraphics{assets/dhs-logo},
angle=0,
scale=3.0,
opacity=0.04,
}
\BgThispage
%\large
\tableofcontents
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.13"
__version__ = "1.2.14"

0 comments on commit 58d1067

Please sign in to comment.