Skip to content

Commit

Permalink
Test image
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Aug 3, 2024
1 parent fe0a4ae commit 962baf8
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,30 @@ on:
push:
branches:
- master
pull_request:

permissions:
contents: read
packages: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: docker/login-action@v2
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: docker/build-push-action@v4
with:
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:latest

- name: Test
run: |
bash tests/mitmtest.sh
# - uses: docker/build-push-action@v6
# if: github.event_name != 'pull_request'
# with:
# push: true
# tags: |
# ghcr.io/${{ github.repository }}:${{ github.ref_name }}
# ghcr.io/${{ github.repository }}:latest

0 comments on commit 962baf8

Please sign in to comment.