Skip to content

Commit

Permalink
Fix on-trigger (correct branch) (#11860)
Browse files Browse the repository at this point in the history
Fix on-trigger (correct branch)
Grammar fixes
  • Loading branch information
lystopad authored Sep 4, 2024
1 parent 4b7d8c0 commit 5708ac2
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci-cd-main-branch-docker-images.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publishing snapshot images
run-name: "Publishing snapshot images "
name: CI-CD build and deploy docker images based on the last commin in the main branch
run-name: "Commit id ${{ github.sha }}: CI-CD build and deploy docker images based on the commit id in the main branch"

env:
APPLICATION: "erigon"
Expand All @@ -13,23 +13,19 @@ env:
on:
push:
branches:
- 'master'
- 'main'
paths-ignore:
- '.github/**'
#tags:
## only trigger on release tags:
#- 'v*.*.*'
#- 'v*.*.*-*'
workflow_dispatch:

jobs:

Build:
runs-on: ubuntu-22.04
timeout-minutes: 30
timeout-minutes: 45

steps:
- name: Fast checkout git repository in order to get commit id for further checkouts by this workflow
- name: Fast checkout git repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 ## 4.1.7 release
with:
repository: ${{ env.APP_REPO }}
Expand Down Expand Up @@ -57,7 +53,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db ## v3.6.1

- name: Build and push multi-platform docker image based on the last commit in main branch
- name: Build and push multi-platform docker image based on the commit id ${{ github.sha }} in the main branch
env:
BUILD_VERSION: "main-${{ steps.getCommitId.outputs.id }}"
DOCKER_URL: ${{ env.DOCKERHUB_REPOSITORY }}
Expand Down Expand Up @@ -87,7 +83,7 @@ jobs:
- name: Print docker images published
run: |
echo Following docker images published:
echo The following docker images have been published:
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-${{ steps.getCommitId.outputs.id }}"
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-latest"

0 comments on commit 5708ac2

Please sign in to comment.