Skip to content

Docker Image CI

Docker Image CI #62

Workflow file for this run

name: Docker Image CI
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
schedule:
- cron: '40 22 5/15 * *'
jobs:
docker:
name: slackware64-${{ matrix.version }}
strategy:
fail-fast: false
matrix:
version: ['15.0', 'current']
env:
RELEASE: slackware64-${{ matrix.version }}
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
name: Make
run: |
export -p
sudo RELEASE="$RELEASE" ./mktar.sh
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
build-args: RELEASE=${{ env.RELEASE }}
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/slackware:${{ matrix.version }}