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
13 changes: 11 additions & 2 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Debian

on:
pull_request:
paths:
- .github/workflows/debian.yml
- docker/debian/Dockerfile*
- test
push:
branches:
- main
paths:
- .github/workflows/debian.yml
- docker/debian/Dockerfile*
Expand All @@ -17,7 +24,7 @@ defaults:
shell: bash

env:
PUSH: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
PUSH: ${{ github.event_name == 'push' }}
CONTAINER_REGISTRY: ghcr.io
BUILDKIT_PROGRESS: plain
CONAN_VERSION: 2.19.1
Expand Down Expand Up @@ -87,6 +94,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down Expand Up @@ -161,7 +169,7 @@ jobs:
retention-days: 1

merge:
if: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
if: ${{ github.event_name == 'push' }}
strategy:
matrix:
os:
Expand Down Expand Up @@ -221,6 +229,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: GCC

on:
pull_request:
paths:
- .github/workflows/gcc.yml
- docker/gcc/Dockerfile*
push:
branches:
- main
paths:
- .github/workflows/gcc.yml
- docker/gcc/Dockerfile*
Expand All @@ -16,7 +22,7 @@ defaults:
shell: bash

env:
PUSH: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
PUSH: ${{ github.event_name == 'push' }}
CONTAINER_REGISTRY: ghcr.io
BUILDKIT_PROGRESS: plain

Expand Down Expand Up @@ -49,6 +55,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down Expand Up @@ -109,7 +116,7 @@ jobs:
retention-days: 1

merge:
if: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
if: ${{ github.event_name == 'push' }}
strategy:
matrix:
os:
Expand Down Expand Up @@ -138,6 +145,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/rhel.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: RHEL

on:
pull_request:
paths:
- .github/workflows/rhel.yml
- docker/rhel/Dockerfile
- test
push:
branches:
- main
paths:
- .github/workflows/rhel.yml
- docker/rhel/Dockerfile
Expand All @@ -17,7 +24,7 @@ defaults:
shell: bash

env:
PUSH: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
PUSH: ${{ github.event_name == 'push' }}
CONTAINER_REGISTRY: ghcr.io
REDHAT_REGISTRY: registry.access.redhat.com
BUILDKIT_PROGRESS: plain
Expand Down Expand Up @@ -66,12 +73,14 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Red Hat Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.REDHAT_REGISTRY }}
Expand Down Expand Up @@ -141,7 +150,7 @@ jobs:
retention-days: 1

merge:
if: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
if: ${{ github.event_name == 'push' }}
strategy:
matrix:
os:
Expand Down Expand Up @@ -180,6 +189,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/tools-rippled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: Tools-rippled

on:
pull_request:
paths:
- .github/workflows/tools-rippled.yml
- docker/tools-rippled/Dockerfile
push:
branches:
- main
paths:
- .github/workflows/tools-rippled.yml
- docker/tools-rippled/Dockerfile
Expand All @@ -16,7 +22,7 @@ defaults:
shell: bash

env:
PUSH: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
PUSH: ${{ github.event_name == 'push' }}
CONTAINER_REGISTRY: ghcr.io
BUILDKIT_PROGRESS: plain
CMAKE_VERSION: 3.31.6
Expand Down Expand Up @@ -47,6 +53,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down Expand Up @@ -115,7 +122,7 @@ jobs:
retention-days: 1

merge:
if: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
if: ${{ github.event_name == 'push' }}
strategy:
matrix:
tool:
Expand All @@ -138,6 +145,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Ubuntu

on:
pull_request:
paths:
- .github/workflows/ubuntu.yml
- docker/ubuntu/Dockerfile
- test
push:
branches:
- main
paths:
- .github/workflows/ubuntu.yml
- docker/ubuntu/Dockerfile
Expand All @@ -17,7 +24,7 @@ defaults:
shell: bash

env:
PUSH: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
PUSH: ${{ github.event_name == 'push' }}
CONTAINER_REGISTRY: ghcr.io
BUILDKIT_PROGRESS: plain
CONAN_VERSION: 2.19.1
Expand Down Expand Up @@ -70,6 +77,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down Expand Up @@ -140,7 +148,7 @@ jobs:
retention-days: 1

merge:
if: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}
if: ${{ github.event_name == 'push' }}
strategy:
matrix:
os:
Expand Down Expand Up @@ -182,6 +190,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.CONTAINER_REGISTRY }}
Expand Down
Loading