Skip to content

Commit

Permalink
dont mark release as latest (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
kissken authored and Tetrergeru committed Sep 22, 2023
1 parent d30cbe7 commit 2f5f4b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pull-requests: write
strategy:
matrix:
servis: [api, checker, cli, notifier, filter]
services: [api, checker, cli, notifier, filter]
runs-on: ubuntu-22.04
if: ${{github.event.issue.pull_request != null && startsWith(github.event.comment.body, '/build') && github.event.comment.author_association == 'MEMBER'}}
steps:
Expand Down Expand Up @@ -64,12 +64,12 @@ jobs:
uses: docker/build-push-action@v4
with:
context: "https://github.com/${{fromJSON(steps.get-pr.outputs.result).head.repo.full_name}}.git#${{fromJSON(steps.get-pr.outputs.result).head.ref}}"
file: ./Dockerfile.${{matrix.servis}}
file: ./Dockerfile.${{matrix.services}}
build-args: |
MoiraVersion=${{ env.DOCKER_TAG }}
GIT_COMMIT=${{ fromJSON(steps.get-pr.outputs.result).head.sha }}
push: true
tags: moira/${{matrix.servis}}-unstable:${{env.DOCKER_TAG}}
tags: moira/${{matrix.services}}-unstable:${{env.DOCKER_TAG}}

- name: Comment PR with build tag
uses: mshick/add-pr-comment@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
servis: [api, checker, cli, notifier, filter]
services: [api, checker, cli, notifier, filter]
steps:

- name: Set up Docker Buildx
Expand All @@ -28,12 +28,12 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
file: ./Dockerfile.${{matrix.servis}}
file: ./Dockerfile.${{matrix.services}}
build-args: |
MoiraVersion=${{env.DOCKER_TAG}}
GIT_COMMIT=${{github.sha}}
push: true
tags: moira/${{matrix.servis}}-nightly:${{env.DOCKER_TAG}}
tags: moira/${{matrix.services}}-nightly:${{env.DOCKER_TAG}}

- name: Comment PR with build tag
uses: mshick/add-pr-comment@v2
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
servis: [api, checker, cli, notifier, filter]
services: [api, checker, cli, notifier, filter]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -27,10 +27,9 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
file: ./Dockerfile.${{matrix.servis}}
file: ./Dockerfile.${{matrix.services}}
build-args: |
MoiraVersion=${{env.DOCKER_TAG}}
GIT_COMMIT=${{github.sha}}
push: true
tags: moira/${{matrix.servis}}:${{env.DOCKER_TAG}},moira/${{matrix.servis}}:latest

tags: moira/${{matrix.services}}:${{env.DOCKER_TAG}}

0 comments on commit 2f5f4b3

Please sign in to comment.