Skip to content

Commit

Permalink
[feature-swarm-docker-build] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FR-Solution committed May 3, 2024
1 parent 191d861 commit 2f7bd34
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-for-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,34 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
- name: Build and push goose
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.goose
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.goose:${{ github.head_ref || github.ref_name }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.goose:${{ github.head_ref || github.ref_name }}-${{ github.sha }}

- name: Build and push
- name: Build and push sgroups
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.sgroups
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups:${{ github.head_ref || github.ref_name }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups:${{ github.head_ref || github.ref_name }}-${{ github.sha }}

- name: Build and push
- name: Build and push terraform
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.terraform
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.terraform:${{ github.head_ref || github.ref_name }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.terraform:${{ github.head_ref || github.ref_name }}-${{ github.sha }}

- name: Build and push
- name: Build and push to-nft
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.to-nft
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.to-nft:${{ github.head_ref || github.ref_name }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.to-nft:${{ github.head_ref || github.ref_name }}-${{ github.sha }}

0 comments on commit 2f7bd34

Please sign in to comment.