Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
coutug committed Oct 2, 2024
1 parent c6cb283 commit 23aac24
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,16 @@ jobs:
type=raw,enable=${{ !startsWith(github.ref, 'refs/tags/') }},value=develop
type=semver,pattern={{raw}}
- name: test image names
run: echo "${{ steps.meta.outputs.tags }}"

# - name: Build and push frontend Docker image
# uses: docker/build-push-action@v5
# with:
# context: ./frontend
# push: true
# tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-frontend${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
- name: Build and push frontend Docker image
uses: docker/build-push-action@v5
with:
context: ./frontend
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-frontend:${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# - name: Build and push backend Docker image
# uses: docker/build-push-action@v5
# with:
# context: ./backend
# push: true
# tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-backend${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
- name: Build and push backend Docker image
uses: docker/build-push-action@v5
with:
context: ./backend
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-backend:${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 23aac24

Please sign in to comment.