mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
testing actions autobuild
This commit is contained in:
25
.github/workflows/dockerimage.yml
vendored
Normal file
25
.github/workflows/dockerimage.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build the Docker image
|
||||
run: docker build . --tag recipes:$(date +%s)
|
||||
|
||||
- name: Dockerize
|
||||
if: success()
|
||||
uses: manusa/actions-publish-docker@master
|
||||
with:
|
||||
name: vabene1111/recipes
|
||||
username: ${{ secrets.DOCKER_HUB_USER }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
Reference in New Issue
Block a user