fix: include Dockerfile path #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push images to DockerHub | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
# Publish semver tags as releases. | |
#tags: [ '[2022]0701-001' ] | |
# On a job that uses a reusable workflow, it seems you cannot | |
# use env on a with block (https://github.com/actions/runner/issues/1189#issuecomment-1741672276) | |
env: | |
VERSION: "20240102-001" | |
jobs: | |
simplerisk-jammy: | |
name: 'Push simplerisk/simplerisk image based on Ubuntu 22.04 (Jammy)' | |
uses: ./.github/workflows/push-to-dockerhub_rw.yml | |
with: | |
context_path: "simplerisk" | |
dockerfile_path: "simplerisk/jammy/Dockerfile" | |
image_name: "simplerisk/simplerisk" | |
version: "20241113-001" | |
os_version: "jammy" | |
secrets: inherit | |
simplerisk-noble: | |
name: 'Push simplerisk/simplerisk image based on Ubuntu 24.04 (Noble)' | |
uses: ./.github/workflows/push-to-dockerhub_rw.yml | |
with: | |
context_path: "simplerisk" | |
dockerfile_path: "simplerisk/noble/Dockerfile" | |
image_name: "simplerisk/simplerisk" | |
version: "20241113-001" | |
os_version: "noble" | |
main_image: true | |
secrets: inherit | |
simplerisk-minimal-php81: | |
name: 'Push simplerisk/simplerisk-minimal image based on PHP 8.1 with Apache' | |
uses: ./.github/workflows/push-to-dockerhub_rw.yml | |
with: | |
context_path: "simplerisk-minimal" | |
dockerfile_path: "simplerisk-minimal/php81/Dockerfile" | |
image_name: "simplerisk/simplerisk-minimal" | |
version: "20241113-001" | |
os_version: "php81" | |
secrets: inherit | |
simplerisk-minimal-php83: | |
name: 'Push simplerisk/simplerisk-minimal image based on PHP 8.3 with Apache' | |
uses: ./.github/workflows/push-to-dockerhub_rw.yml | |
with: | |
context_path: "simplerisk-minimal" | |
dockerfile_path: "simplerisk-minimal/php83/Dockerfile" | |
image_name: "simplerisk/simplerisk-minimal" | |
version: "20241113-001" | |
os_version: "php83" | |
main_image: true | |
secrets: inherit |