Skip to content

Commit

Permalink
ci: add workflow_dispatch trigger in gitpod-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BacLuc committed Oct 25, 2022
1 parent 5bea253 commit 2806f5e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gitpod-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ on:
- 'main'
paths:
- 'gitpod/**'
workflow_dispatch:

jobs:
build-and-push-docker-image:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub Registry
if: contains('refs/heads/main', github.ref)
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
Expand Down

0 comments on commit 2806f5e

Please sign in to comment.