Skip to content

build-action-images #34

build-action-images

build-action-images #34

Workflow file for this run

# 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