Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dh-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: apt-get update && apt-get install -y git curl tar libgomp1

- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Verify DH initiator in Go using Gobra
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ jobs:
build-verify:
runs-on: ubuntu-latest
timeout-minutes: 20
# set per-job GITHUB_TOKEN permissions such that pushing the Docker image will be possible:
permissions:
packages: write
steps:
- name: Create Image ID
run: |
REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
echo "IMAGE_ID=ghcr.io/$REPO_OWNER/protocol-verification-refinement-tamarin" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Image version
run: |
Expand All @@ -23,10 +26,10 @@ jobs:
echo "IMAGE_TAG=${{ env.IMAGE_ID }}:$VERSION" >> $GITHUB_ENV

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
load: true
Expand All @@ -44,14 +47,14 @@ jobs:
run: docker run ${{ env.IMAGE_TAG }} ./verify-wireguard.sh

- name: Login to Github Packages
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: tamarin-docker/Dockerfile
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/wireguard-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ jobs:
build-verify:
runs-on: ubuntu-latest
timeout-minutes: 15
# set per-job GITHUB_TOKEN permissions such that pushing the Docker image will be possible:
permissions:
packages: write
steps:
- name: Create Image ID
run: |
REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
echo "IMAGE_ID=ghcr.io/$REPO_OWNER/protocol-verification-refinement-wireguard" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Image version
run: |
Expand All @@ -23,10 +26,10 @@ jobs:
echo "IMAGE_TAG=${{ env.IMAGE_ID }}:$VERSION" >> $GITHUB_ENV

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: wireguard/implementation
load: true
Expand All @@ -44,14 +47,14 @@ jobs:
run: docker run ${{ env.IMAGE_TAG }} ./test.sh

- name: Login to Github Packages
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: wireguard/implementation
file: wireguard/implementation/docker/Dockerfile
Expand Down