mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
26 lines
690 B
YAML
26 lines
690 B
YAML
name: publish dev image docker
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '*/*'
|
|
- '!master'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: DamianReeves/write-file-action
|
|
with:
|
|
path: version.py
|
|
contents: |
|
|
echo "VERSION_NUMBER = 'develop'"
|
|
echo "BUILD_REF = '$(git rev-parse --short "$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 }}
|