Skip to content

Commit

Permalink
ci: added manual dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
TyIsI committed Jun 25, 2024
1 parent f3fbff0 commit b132353
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,26 @@ on:
branches:
- 'master'
- 'trunk'
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Docker meta
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ vars.DOCKERHUB_TEMPLATE }}
-
name: Login to DockerHub
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
Expand Down

0 comments on commit b132353

Please sign in to comment.