Skip to content
Snippets Groups Projects
Unverified Commit 1a813a9c authored by Andrea Franchini's avatar Andrea Franchini Committed by GitHub
Browse files

Create docker-image.yml

parent 9208cef6
No related branches found
No related tags found
No related merge requests found
name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
-
name: Login to Docker Hub
uses: docker/login-action@2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@2.5.0
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/doml-model-checker:latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment