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"