Skip to content

Commit

Permalink
Fixing pre-release flag in docker workflow (#49)
Browse files Browse the repository at this point in the history
* debugging booleans

* removed debug statements

* Updated CHANGELOG
  • Loading branch information
AlejandroEsquivel authored Oct 13, 2023
1 parent db4d75f commit d8b1234
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
id-token: write
contents: read
env:
prerelease: ${{ inputs.prerelease }}
version: ${{ inputs.version }}
covalent_version: ${{ inputs.covalent_version }}
steps:
Expand Down Expand Up @@ -123,7 +122,7 @@ jobs:
- name: Build and push pre-release image version
if: >
env.prerelease
inputs.prerelease
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
Expand All @@ -141,7 +140,7 @@ jobs:
- name: Build and push stable version
if: >
!env.prerelease
!inputs.prerelease
&& github.event_name == 'workflow_dispatch'
&& env.version
uses: docker/build-push-action@v2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [UNRELEASED]

### Fixed

- Fixed pre-release flag, was being incorrectly set as truthy even if unchecked

## [0.19.0] - 2023-10-13

### Changed
Expand Down

0 comments on commit d8b1234

Please sign in to comment.