Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMBourgeois authored Feb 14, 2024
1 parent 4547588 commit 3e17fc7
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,33 @@ jobs:
- name: Upload war
uses: actions/upload-artifact@v4
with:
name: war
path: Magma/Magma/target/*.war
name: war-file
path: target/*.war

docker:
runs-on: ubuntu-latest
needs: build
steps:
-
name: Set up QEMU
- name: Download war
uses: actions/download-artifact@v4
with:
name: war-file
path: target
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
name: Login to Docker Hub
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
- name: List files in the repository
run: ls -la
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
file: dockerfile
file: Dockerfile
tags: inseefr/magma-back-office:latest

0 comments on commit 3e17fc7

Please sign in to comment.