Skip to content

refactor: Make the Dockerfile a tiny bit cache friendlier #39

refactor: Make the Dockerfile a tiny bit cache friendlier

refactor: Make the Dockerfile a tiny bit cache friendlier #39

Workflow file for this run

name: Publish Docker image based on master branch
on:
push:
branches: ['master']
workflow_dispatch:
jobs:
build-and-publish-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: fkiecad/fact_extractor:latest