Skip to content

Commit

Permalink
adding release-version and latest images tags (#54)
Browse files Browse the repository at this point in the history
* adding release-version and latest images tags
  • Loading branch information
OrNovo authored Aug 20, 2023
1 parent 8702c27 commit f27b8da
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- uses: actions/checkout@v2

- name: Fetch latest release version
id: fetch-latest-release
uses: reloc8/action-latest-release-version@1.0.0

- name: Build And Push
uses: docker/build-push-action@v2.8.0
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.repository == 'coralogix/coralogix-operator' && github.event_name != 'pull_request'}}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
${{ steps.meta.outputs.tags }}
coralogix/coralogix-operator:${{ steps.fetch-latest-release.outputs.latest-release }}
coralogix/coralogix-operator:latest

0 comments on commit f27b8da

Please sign in to comment.