Skip to content

🐳 Build & Push Docker Image #71

🐳 Build & Push Docker Image

🐳 Build & Push Docker Image #71

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/action-calver@v1.1.0
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 }}