Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ on:

jobs:
build_and_publish_frontend:
name: Build and publish frontend image for ${{ github.event.inputs.environment }}
environment: ${{ github.event.inputs.environment }}
name: Build and publish frontend image for ${{ inputs.environment }}
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
env:
DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_REPO: ${{ secrets.DOCKER_REPO || 'olakego' }}
DOCKER_REPO_WORKER: ${{ secrets.DOCKER_REPO_WORKER || 'olakego' }}
ENVIRONMENT: ${{ github.event.inputs.environment }}
VERSION: ${{ github.event.inputs.version }}
ENVIRONMENT: ${{ inputs.environment }}
VERSION: ${{ inputs.version }}

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.environment == 'master' && 'master' || (github.event.inputs.environment == 'staging' && 'staging' || github.event.inputs.environment == 'dev' && 'ci/workerReleaseIssues' || 'develop') }}
ref: ${{ inputs.environment == 'master' && 'master' || (inputs.environment == 'staging' && 'staging' || inputs.environment == 'dev' && 'ci/workerReleaseIssues' || 'develop') }}

- name: Set up Node.js
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-release-and-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: generate-next-version
run: |
if [ -z "$LATEST_TAG" ]; then
next_version="v0.1.0"
next_version="v0.0.5"
else
# Remove 'v' prefix and split version into array
version=${LATEST_TAG#v}
Expand Down
Loading