Skip to content

Commit

Permalink
OPS: Update docker build in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Aug 27, 2024
1 parent 81f72df commit a5a34bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: VERSION=${{ github.event.inputs.ref }}
platforms: linux/amd64
push: true
tags: octue/check-semantic-version:${{ github.event.inputs.tag }}
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ jobs:
run: tox

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

outputs:
package_version: ${{ steps.get-package-version.outputs.PACKAGE_VERSION }}
Expand Down Expand Up @@ -78,5 +79,7 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: VERSION=${{ needs.tests.outputs.package_version }}
platforms: linux/amd64
push: true
tags: octue/check-semantic-version:${{ needs.tests.outputs.package_version }},octue/check-semantic-version:latest

0 comments on commit a5a34bf

Please sign in to comment.