Migrate to docker/build-push-action@v2
@@ -12,13 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Build and publish interop docker image
- uses: docker/build-push-action@v1
+ - name: Login to GitHub Container Registry
+ uses: docker/login-action@v1
with:
registry: ghcr.io
- path: interop
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
- repository: ngtcp2/ngtcp2-interop
- add_git_labels: true
- tags: latest
+ - name: Build and publish interop docker image
+ uses: docker/build-push-action@v2
+ with:
+ context: interop
+ file: interop/Dockerfile
+ tags: ghcr.io/ngtcp2/ngtcp2-interop:latest
