From 29d4dcb73dd1a263c6576a6852cab6001505e379 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 10 Jun 2020 11:36:45 +0200 Subject: [PATCH] fixed yaml formatting --- .github/workflows/docker-publish-latest.yml | 4 +- .github/workflows/docker-publish-release.yml | 48 ++++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/docker-publish-latest.yml b/.github/workflows/docker-publish-latest.yml index 095a7627a..b8f9e1aa7 100644 --- a/.github/workflows/docker-publish-latest.yml +++ b/.github/workflows/docker-publish-latest.yml @@ -10,8 +10,8 @@ jobs: steps: - uses: actions/checkout@master - name: Get version number - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Update version file uses: DamianReeves/write-file-action@v1.0 with: diff --git a/.github/workflows/docker-publish-release.yml b/.github/workflows/docker-publish-release.yml index 7abb66c2a..1c83b8e92 100644 --- a/.github/workflows/docker-publish-release.yml +++ b/.github/workflows/docker-publish-release.yml @@ -7,27 +7,27 @@ on: jobs: build: - runs-on: ubuntu-latest - name: Build image job - steps: - - name: Checkout master - uses: actions/checkout@master# - - name: Get version number - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - - name: Update version file - uses: DamianReeves/write-file-action@v1.0 - with: - path: recipes/version.py - contents: | - VERSION_NUMBER = '${{ steps.get_version.outputs.VERSION }}' - BUILD_REF = '${{ github.sha }}' - write-mode: overwrite - - name: Build and publish image - uses: ilteoood/docker_buildx@master - with: - publish: true - imageName: vabene1111/recipes - tag: ${{ steps.get_version.outputs.VERSION }} - dockerHubUser: ${{ secrets.DOCKER_USERNAME }} - dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }} + runs-on: ubuntu-latest + name: Build image job + steps: + - name: Checkout master + uses: actions/checkout@master# + - name: Get version number + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + - name: Update version file + uses: DamianReeves/write-file-action@v1.0 + with: + path: recipes/version.py + contents: | + VERSION_NUMBER = '${{ steps.get_version.outputs.VERSION }}' + BUILD_REF = '${{ github.sha }}' + write-mode: overwrite + - name: Build and publish image + uses: ilteoood/docker_buildx@master + with: + publish: true + imageName: vabene1111/recipes + tag: ${{ steps.get_version.outputs.VERSION }} + dockerHubUser: ${{ secrets.DOCKER_USERNAME }} + dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }}