This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/.github/workflows/publish.yml

25 lines
670 B
YAML
Raw Normal View History

name: Publish
2021-12-13 01:04:47 +00:00
on:
workflow_run:
workflows: Tests
branches: master
types: completed
workflow_dispatch:
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
2021-12-13 01:07:55 +00:00
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
2021-12-13 01:04:47 +00:00
steps:
- uses: actions/checkout@master
- name: Publish to Registry
2023-06-21 11:01:45 +00:00
uses: elgohr/Publish-Docker-Github-Action@main
2021-12-13 01:04:47 +00:00
with:
name: shish2k/shimmie2
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
cache: ${{ github.event_name != 'schedule' }}
buildoptions: "--build-arg RUN_TESTS=false"