Skip to content

๐Ÿ’ผ Build Jobrunner Docker image #78

๐Ÿ’ผ Build Jobrunner Docker image

๐Ÿ’ผ Build Jobrunner Docker image #78

name: ๐Ÿ’ผ Build Jobrunner Docker image
run-name: ๐Ÿ’ผ Build Jobrunner Docker image
on:
push:
branches:
- 'smw-jobrunner'
workflow_dispatch:
branches:
- 'smw-jobrunner'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: ๐Ÿ”’ Set Calver Version
uses: Nelyx/[email protected]
id: setcalver
with:
default_branch: 'refs/heads/smw-jobrunner'
format: 'YY.MM.DD'
-
name: ๐Ÿ”‘ Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: ๐Ÿ—๏ธ Build and push
uses: docker/build-push-action@v6
with:
push: true
no-cache: true
tags: starcitizentools/mediawiki:smw-jobrunner-latest,starcitizentools/mediawiki:smw-jobrunner-${{ steps.setcalver.outputs.package_version }}