Skip to content

Merge pull request #43 from BretFisher/dependabot/github_actions/acti… #110

Merge pull request #43 from BretFisher/dependabot/github_actions/acti…

Merge pull request #43 from BretFisher/dependabot/github_actions/acti… #110

---
name: 01 Basic Docker Build
# simplest workflow possible
on:
push:
branches:
- main
pull_request:
jobs:
build-image:
name: Build Image
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker build
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: bretfisher/docker-ci-automation:latest,bretfisher/docker-ci-automation:01