refactor build workflow
All checks were successful
Docker Build / Build and Push Images (push) Successful in 13s
All checks were successful
Docker Build / Build and Push Images (push) Successful in 13s
This commit is contained in:
parent
70709ca4f1
commit
4c42b31580
1 changed files with 7 additions and 2 deletions
|
@ -3,9 +3,10 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
Build and Push Images:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
@ -19,10 +20,14 @@ jobs:
|
|||
registry: www.coastalcommits.com
|
||||
username: Seaswimmer
|
||||
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
- name: Build and push Docker image
|
||||
- name: Build and push MediaWiki image
|
||||
uses: actions/docker-build-push@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: www.coastalcommits.com/galacticfactory/downloader:latest
|
||||
- name: Restart the MediaWiki stack
|
||||
run: |
|
||||
echo "Sending request to Portainer to restart the Downloader stack and pull the latest image"
|
||||
curl -X POST --insecure ${{ secrets.BUILDWEBHOOK }}
|
Loading…
Reference in a new issue