Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.32 KB

Image-build-action

This GitHub Action build and push Docker images with bedag/image-build.

Usage

name: Example
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  workflow_dispatch:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: image-build build & push
        uses: bedag/image-build-action@main
        with:
          push: true
          docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
          docker_password: ${{ secrets.DOCKERHUB_TOKEN}}

In action.yaml you see find all supported Inputs(with statement).

Examples