Feature/pipeline test more compilers #22
Workflow file for this run
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
# SPDX-FileCopyrightText: 2022 Dennis Gläser <[email protected]> | |
# SPDX-License-Identifier: MIT | |
name: build-action-images | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'docker/**' | |
jobs: | |
push-to-registry: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout-repo | |
uses: actions/checkout@v2 | |
- name: Docker-hub-Login | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- name: Build-and-push-minimal-image | |
uses: docker/[email protected] | |
with: | |
context: docker | |
file: docker/Dockerfile | |
push: true | |
tags: dglaeser/gridformat-action-images:minimal | |
target: minimal | |
- name: Build-and-push-full-image | |
uses: docker/[email protected] | |
with: | |
context: docker | |
file: docker/Dockerfile | |
push: true | |
tags: dglaeser/gridformat-action-images:full | |
target: full |