Skip to content

Commit

Permalink
Fix some linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wkobiela committed Oct 29, 2024
1 parent bf5d4c1 commit 653786e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches: [ "master" ]

permissions: read-all

env:
BUILD_TAG: wkobiela/ammo_front:PR-${{ github.event.number }}

Expand All @@ -15,6 +17,11 @@ jobs:
name: Build image
runs-on: self-hosted

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -32,7 +39,7 @@ jobs:
tags: ${{ env.BUILD_TAG }}

- name: Run Docker container
run: docker run --name test --rm -d -p 3000:3000 $BUILD_TAG
run: docker run --name test --rm -d -p 3000:3000 ${{ env.BUILD_TAG }}

- name: Wait until the container is healthy
uses: raschmitt/wait-for-healthy-container/@master
Expand All @@ -47,4 +54,4 @@ jobs:
if: always()
run: |
docker rm --force test
docker rmi --force $BUILD_TAG
docker rmi --force ${{ env.BUILD_TAG }}

0 comments on commit 653786e

Please sign in to comment.