Skip to content

Commit

Permalink
Update build.yml docker image build and push job
Browse files Browse the repository at this point in the history
  • Loading branch information
JckHoe committed Nov 30, 2023
1 parent b534830 commit f8799e5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
env:
IMAGE_NAME: ghcr.io/matrixxsoftware/xk6-diameter:latest
run: |
make docker
docker push $IMAGE_NAME
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/matrixxsoftware/xk6-diameter:latest
build-args: |
K6_BINARY=bin/k6

0 comments on commit f8799e5

Please sign in to comment.