Skip to content

Commit

Permalink
upgrade docker github actions tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsv committed Dec 16, 2024
1 parent 618628c commit 9da1b8a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
echo "REACT_APP_BUILD_TIME=$(date)" >> $GITHUB_ENV
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
if: ${{ env.push == 'true' }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Frontend
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfiles/Dockerfile.frontend
Expand All @@ -50,15 +50,15 @@ jobs:
push: ${{ env.push }}
tags: ghcr.io/dedis/d-voting-frontend:${{ env.DockerTag }}
- name: Build Backend
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfiles/Dockerfile.backend
platforms: linux/amd64
push: ${{ env.push }}
tags: ghcr.io/dedis/d-voting-backend:${{ env.DockerTag }}
- name: Build D-Voting
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfiles/Dockerfile.dela
Expand Down

0 comments on commit 9da1b8a

Please sign in to comment.