mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-31 06:10:13 -05:00
27 lines
702 B
YAML
27 lines
702 B
YAML
name: publish dev image docker
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '*/*'
|
|
- '!master'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Update version file
|
|
uses: DamianReeves/write-file-action@v1.0
|
|
with:
|
|
path: recipes/version.py
|
|
contents: |
|
|
VERSION_NUMBER = 'develop'
|
|
BUILD_REF = '${{ github.sha }}'
|
|
write-mode: overwrite
|
|
- name: Publish to Registry
|
|
uses: elgohr/Publish-Docker-Github-Action@2.13
|
|
with:
|
|
name: vabene1111/recipes
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|