diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index fba83c0..fa58581 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -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 }} \ No newline at end of file + - 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 }} \ No newline at end of file