Skip to content

Commit

Permalink
ci: Improve step filters (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Jul 10, 2021
1 parent 3edcc53 commit 063f7de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ on:

jobs:
dev-image-test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- name: Login to Packages
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
- run: docker-compose pull --quiet
if: github.event_name == 'pull_request'
if: ${{ github.event_name == 'pull_request' }}
- run: make build
- run: docker images
- run: docker-compose push
if: github.ref == 'refs/heads/main' && github.event.repository.fork == false
if: ${{ github.ref == 'refs/heads/main' && github.event.repository.fork == false }}

0 comments on commit 063f7de

Please sign in to comment.