mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 01:54:55 +00:00
Update build-image.yml
This commit is contained in:
parent
9bf6cae16f
commit
a209054021
5
.github/workflows/build-image.yml
vendored
5
.github/workflows/build-image.yml
vendored
@ -253,13 +253,14 @@ jobs:
|
||||
- name: login into registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u $ --password-stdin
|
||||
|
||||
- name: Test
|
||||
run: ls -la
|
||||
|
||||
- name: Build image
|
||||
env:
|
||||
dockerfile: ./src/comissions.app.api/Dockerfile
|
||||
docker_image_name: ghcr.io/d4m13n-d3v/comissions-api-${{ matrix.platform }}
|
||||
run: |
|
||||
ls
|
||||
ls src
|
||||
docker build --platform linux/${{ matrix.platform }} -t ${{ env.docker_image_name }}:${{ needs.gitversion.outputs.semantic_version }} -f ${{ env.dockerfile }} --force-rm .
|
||||
docker tag ${{ env.docker_image_name }}:${{ needs.gitversion.outputs.semantic_version }} ${{ env.docker_image_name }}:latest
|
||||
docker push --all-tags ${{ env.docker_image_name }}
|
Loading…
x
Reference in New Issue
Block a user