From 78ff52db35af5e840742676771917b33e71f5a55 Mon Sep 17 00:00:00 2001 From: tiagoepr Date: Thu, 25 Aug 2022 16:31:07 +0100 Subject: [PATCH] Solved yml issue --- .github/workflows/publish-to-pypi.yml | 20 +++++++++++--------- mllp_http_https/version.py | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 82dfaf2..59c9700 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -43,6 +43,16 @@ jobs: with: password: ${{ secrets.PYPI_API_TOKEN }} + - name: Docker login + env: + DOCKER_USER: ${{ secrets.DOCKER_USER }} + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + run: | + docker login -u $DOCKER_USER -p $DOCKER_PASSWORD + - name: Build the Docker image + run: docker build . --file Dockerfile --tag tiagoepr/mllp-https:$(github.ref) + + - name: Create GitHub Release id: create_release uses: actions/create-release@v1 @@ -70,15 +80,7 @@ jobs: asset_name: ${{ env.name }} asset_content_type: application/zip - - name: Docker login - env: - DOCKER_USER: ${{ secrets.DOCKER_USER }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: | - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - - name: Build the Docker image - run: docker build . --file Dockerfile --tag tiagoepr/mllp-https:$(github.ref) - + diff --git a/mllp_http_https/version.py b/mllp_http_https/version.py index 7f647d0..5cc179e 100644 --- a/mllp_http_https/version.py +++ b/mllp_http_https/version.py @@ -1 +1 @@ -__version__ = "1.2.7" +__version__ = "1.2.8"