Skip to content

Commit

Permalink
add test step
Browse files Browse the repository at this point in the history
  • Loading branch information
tecandrew committed Feb 27, 2024
1 parent 9808412 commit 54c1fe2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,26 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
- name: Build and export Docker image
uses: docker/[email protected]
with:
builder: ${{ steps.buildx.outputs.name }}
build-args: |
NEXTDNS_VERSION=${{ needs.fetch.outputs.nextdns_ver }}
tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ needs.fetch.outputs.nextdns_ver }}

- name: Test Image
run: |
docker run --rm ${{ env.IMAGE_NAME }}:${{ needs.fetch.outputs.nextdns_ver }}
- name: Push Docker image
uses: docker/[email protected]
with:
platforms: ${{ env.ARCH_LIST }}
push: true
builder: ${{ steps.buildx.outputs.name }}
build-args: |
NEXTDNS_VERSION=${{ needs.fetch.outputs.nextdns_ver }}
tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ needs.fetch.outputs.nextdns_ver }}

tag:
Expand Down

0 comments on commit 54c1fe2

Please sign in to comment.