Skip to content

Update rockylinux/rockylinux Docker tag to v10 #1

Update rockylinux/rockylinux Docker tag to v10

Update rockylinux/rockylinux Docker tag to v10 #1

Workflow file for this run

name: Build Containers on PR
on:
pull_request:
branches:
- main
paths:
- '*/Dockerfile'
- '*/VERSION'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
container:
- stn-deploy-2025.1
- stn-deploy-2024.2
- stn-deploy-2024.1
#- stn-deploy-master
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Read VERSION file
id: version
run: echo "::set-output name=version::$(cat ${{ matrix.container }}/VERSION)"
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: ${{ matrix.container }}
file: ${{ matrix.container }}/Dockerfile
load: true # Important: 'load' is set to true instead of 'push'
tags: ghcr.io/stackers-network/${{ matrix.container }}:${{ steps.version.outputs.version }}