changes to docker pipelines (autobuilds disabled on Docker Hub)

This commit is contained in:
Łukasz Budnik
2021-08-20 14:12:34 +02:00
parent 3af4030d87
commit 0ae522a43e
4 changed files with 67 additions and 26 deletions

View File

@@ -1,18 +1,12 @@
name: Docker Image CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag yosoy-local:$(date +%s)
- uses: actions/checkout@v2.3.4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag yosoy-local:$(date +%s)