Skip to content

[Snyk] Security upgrade nginx from 1.26 to 1.27.3-alpine3.20-slim #2382

[Snyk] Security upgrade nginx from 1.26 to 1.27.3-alpine3.20-slim

[Snyk] Security upgrade nginx from 1.26 to 1.27.3-alpine3.20-slim #2382

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Docker
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events
push:
branches: [ master, preview/*, release/* ]
tags: [ '*' ]
pull_request:
branches: [ master, preview/*, release/* ]
release:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
duende:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: theidserverowner
password: ${{ secrets.DOCKER_HUB_PAT }}
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
with:
fallback: 1.0.0
- name: Build and push TheIdServer Duende
id: docker_build_theidserver_duende
uses: docker/build-push-action@v3
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
with:
build-args: GITHIB_FEED_TOKEN=${{ secrets.GITHIB_FEED_TOKEN }} FILE_VERSION=${{ steps.previoustag.outputs.tag }}.0 SOURCE_VERSION=${{ github.sha }}
push: true
file: src/Aguacongas.TheIdServer.Duende/Dockerfile
tags: aguacongas/theidserver.duende:${{ steps.previoustag.outputs.tag }}
app:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: theidserverowner
password: ${{ secrets.DOCKER_HUB_PAT }}
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
with:
fallback: 1.0.0
- name: Build and push TheIdServerApp
id: docker_build_theidserverapp
uses: docker/build-push-action@v3
env:
GITHIB_FEED_TOKEN: ${{ secrets.GITHIB_FEED_TOKEN }}
with:
build-args: GITHIB_FEED_TOKEN=${{ secrets.GITHIB_FEED_TOKEN }} FILE_VERSION=${{ steps.previoustag.outputs.tag }}.0 SOURCE_VERSION=${{ github.sha }}
push: true
file: src/Aguacongas.TheIdServer.BlazorApp/Dockerfile
tags: aguacongas/theidserverapp:${{ steps.previoustag.outputs.tag }}