Skip to content

chore(deps): update dependency openssl/openssl to v4 #19

chore(deps): update dependency openssl/openssl to v4

chore(deps): update dependency openssl/openssl to v4 #19

name: Build and publish legacy Docker images
# filigran/python-fips and filigran/python-nodejs-fips, built from legacy/. Kept
# rebuilt so that consumers still tracking them receive Alpine updates while they
# migrate to the alpine-prefixed images. See the migration window in README.md.
on:
push:
branches:
- main
paths:
- legacy/**
- .github/workflows/docker-build-push-legacy.yml
pull_request:
paths:
- legacy/**
- .github/workflows/docker-build-push-legacy.yml
schedule:
# Offset from the main build, which these images share nothing with.
- cron: "0 2 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: docker-build-push-legacy-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
name: Build ${{ matrix.image }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- image: filigran/python-fips
dockerfile: Dockerfile_python
tags: |
filigran/python-fips:python3.12
filigran/python-fips:latest
- image: filigran/python-nodejs-fips
dockerfile: Dockerfile_python_nodejs
tags: |
filigran/python-nodejs-fips:python3.12-nodejs24
filigran/python-nodejs-fips:latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Log in to Docker Hub
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v4
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build ${{ matrix.image }}
uses: docker/build-push-action@v7
with:
context: legacy
file: legacy/${{ matrix.dockerfile }}
platforms: linux/amd64
pull: true
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ matrix.tags }}