Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
run: |
TAG=""
if [[ "$GITHUB_REF" =~ "main" ]]; then
TAG="latest"
TAG="latest-24"
elif [[ "$GITHUB_REF" =~ "stable" ]]; then
TAG="stable"
TAG="stable-24"
else
echo "Invalid Github ref $GITHUB_REF"
exit 1
Expand All @@ -46,7 +46,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
push: true
push: false
tags: p4lang/pi:${{ steps.get-tag.outputs.tag }}
cache-from: type=gha
cache-to: type=gha,mode=max
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Antonin Bas (antonin@barefootnetworks.com)

FROM p4lang/third-party:latest
FROM p4lang/third-party:latest-24
LABEL maintainer="P4 Developers <p4-dev@lists.p4.org>"
LABEL description="This Docker image includes only the most widely-used PI \
artifacts: PI core and P4Runtime. It does not include the Thrift-based PI \
Expand All @@ -40,8 +40,8 @@ ENV PI_DEPS automake \
libboost-thread-dev \
libtool \
pkg-config
ENV PI_RUNTIME_DEPS libboost-system1.71.0 \
libboost-thread1.71.0 \
ENV PI_RUNTIME_DEPS libboost-system1.74.0 \
libboost-thread1.74.0 \
python3 \
python-is-python3

Expand Down
Loading