Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cin committed May 12, 2023
1 parent 77e47fe commit 87cda9a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,30 +98,30 @@ jobs:
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
- name: Create Release YAML (gatling-operator.yaml)
env:
VERSION: ${{ steps.get-version.outputs.VERSION }}
VERSION: ${{ env.VERSION }}
run: make manifests-release IMG=$REGISTRY/$IMAGE_NAME:$VERSION
- name: Build and push operator image ${{ steps.get-version.outputs.VERSION }}
- name: Build and push operator image ${{ env.VERSION }}
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get-version.outputs.VERSION }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
file: ./Dockerfile
build-args: |
VERSION=${{ steps.get-version.outputs.VERSION }}
VERSION=${{ env.VERSION }}
push: true
- name: Build and push gatling-runner ${{ steps.get-version.outputs.VERSION }}
- name: Build and push gatling-runner ${{ env.VERSION }}
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
tags: ${{ env.REGISTRY }}/gatling:${{ steps.get-version.outputs.VERSION }}
tags: ${{ env.REGISTRY }}/gatling:${{ env.VERSION }}
file: ./gatling/Dockerfile
build-args: |
VERSION=${{ steps.get-version.outputs.VERSION }}
VERSION=${{ env.VERSION }}
push: true
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.get-version.outputs.TAG_NAME }}
name: ${{ env.TAG_NAME }}
draft: false
prerelease: false
generate_release_notes: true
Expand Down

0 comments on commit 87cda9a

Please sign in to comment.