summaryrefslogtreecommitdiff
path: root/.github/workflows/integration.yml
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-05-11 18:12:51 +0200
committerGitHub <noreply@github.com>2025-05-11 18:12:51 +0200
commitd16854e67a5bf2f640aabf119c9b50f5a1a3f24f (patch)
tree3c60e7f7fced18e5ff79f60e41968ab8e5dd2c88 /.github/workflows/integration.yml
parent1b787ed35e9c51e335c42faee1f76695780ba4cb (diff)
[mod] rework container deployment (#4764)
container.yml will run after integration.yml COMPLETES successfully and in master branch. Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows. * Podman is now supported to build the container images (Docker also received a refactor, merging both build and buildx) * Container images are being built by Buildah instead of Docker BuildKit. * Container images are tested before release. * Splitting "modern" (amd64 & arm64) and "legacy" (armv7) arches on different Dockerfiles allowing future optimizations.
Diffstat (limited to '.github/workflows/integration.yml')
-rw-r--r--.github/workflows/integration.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index abdaf0c18..b40ae26ab 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -94,49 +94,3 @@ jobs:
- name: Build
run: make themes.all
-
- dockers:
- name: Docker
- if: github.ref == 'refs/heads/master'
- needs:
- - test
- - theme
- env:
- DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
- runs-on: ubuntu-24.04
- steps:
- - name: Checkout
- if: env.DOCKERHUB_USERNAME != null
- uses: actions/checkout@v4
- with:
- # make sure "make docker.push" can get the git history
- fetch-depth: '0'
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: '3.12'
- architecture: 'x64'
- - name: Cache Python dependencies
- id: cache-python
- uses: actions/cache@v4
- with:
- path: |
- ./local
- ./.nvm
- ./node_modules
- key: python-ubuntu-20.04-3.12-${{ hashFiles('requirements*.txt', 'setup.py','.nvmrc', 'package.json') }}
- - name: Set up QEMU
- if: env.DOCKERHUB_USERNAME != null
- uses: docker/setup-qemu-action@v1
- - name: Set up Docker Buildx
- if: env.DOCKERHUB_USERNAME != null
- uses: docker/setup-buildx-action@v1
- - name: Login to DockerHub
- if: env.DOCKERHUB_USERNAME != null
- uses: docker/login-action@v1
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- if: env.DOCKERHUB_USERNAME != null
- run: make -e GIT_URL=$(git remote get-url origin) docker.buildx