Skip to content

Commit

Permalink
update all GitHub Actions (#16)
Browse files Browse the repository at this point in the history
* update all GitHub Actions

* only log into DockerHub when actually pushing
  • Loading branch information
marten-seemann committed Jan 9, 2024
1 parent c957c2c commit c40369f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build endpoint
uses: docker/build-push-action@v1
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
with:
push: ${{ github.event_name != 'pull_request' }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: martenseemann/chrome-quic-interop-runner
tags: latest
tag_with_ref: true
add_git_labels: true

- name: Build endpoint
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
tags: martenseemann/chrome-quic-interop-runner:latest

0 comments on commit c40369f

Please sign in to comment.