Skip to content

Commit

Permalink
Merge branch 'latest' into net
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Aug 9, 2024
2 parents 4b355b5 + 0563c6f commit 990d649
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ on:

jobs:
docker:
name: Build and push Docker images to multiple registries
if: github.repository_owner == 'multipath-tcp'
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
-
name: Set up QEMU
Expand All @@ -22,12 +29,21 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: mptcp/mptcp-upstream-virtme-docker:${{ github.ref_name }}
tags: |
mptcp/mptcp-upstream-virtme-docker:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:${{ github.ref_name }}

0 comments on commit 990d649

Please sign in to comment.