Skip to content

Commit

Permalink
Bump alpine from 3.19 to 3.20 in /ops/services/container_instances/db…
Browse files Browse the repository at this point in the history
…_client/image (#7740)

* Bump alpine in /ops/services/container_instances/db_client/image

Bumps alpine from 3.19 to 3.20.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* update build and push action to build db client image

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alis Akers <[email protected]>
  • Loading branch information
2 people authored and shanice-skylight committed Jun 26, 2024
1 parent b4d3e59 commit 0d7eef7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/actions/build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ runs:
- name: Login to ACR
shell: bash
run: docker login ${{ inputs.acr_registry }} -u ${{ inputs.acr_username }} -p ${{ inputs.acr_password }}
- name: Build and push Docker images
- name: Build and push Backend image
working-directory: ./backend
shell: bash
run: ./build_and_push.sh
- name: Build and push db client image
working-directory: ./ops/services/container_instances/db_client/image
shell: bash
run: ./build_and_push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.19
FROM alpine:3.20
RUN apk --no-cache add postgresql14-client
RUN apk add --no-cache bash
RUN unset HISTFILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Increment this version only if the container has undergone a major change.
# Ensure this version is also updated in the infra folder, within db_client.tf.
ACR_TAG="simplereportacr.azurecr.io/api/simple-report-db-client:2.0.0"
ACR_TAG="simplereportacr.azurecr.io/api/simple-report-db-client:3.0.0"

export DOCKER_CLI_EXPERIMENTAL=enabled # to get "manifest inspect"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: "3.2"
services:

dbclient:
build:
context: .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "azurerm_container_group" "db_client" {

container {
name = "${var.name}-${var.env}-db-client"
image = "${var.acr_server}/api/simple-report-db-client:2.0.0"
image = "${var.acr_server}/api/simple-report-db-client:3.0.0"
cpu = "1"
memory = "1.5"

Expand Down

0 comments on commit 0d7eef7

Please sign in to comment.