Skip to content

Commit

Permalink
Remove quotes around stage names
Browse files Browse the repository at this point in the history
  • Loading branch information
isZumpo committed May 13, 2024
1 parent c30da10 commit 3fda898
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
# Ubuntu-20.04 required until this is fixed: https://github.com/actions/runner-images/discussions/9074
runs-on: ubuntu-20.04
steps:
- name: 'Checkout GitHub Action'
- name: Checkout GitHub Action
uses: actions/checkout@v4.1.5

- name: 'Set up Docker Buildx'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0

- name: 'Build amd64 image for testing'
- name: Build amd64 image for testing
uses: docker/build-push-action@v5.3.0
with:
context: .
Expand All @@ -27,12 +27,12 @@ jobs:
cache-from: type=gha,scope=linux/amd64
cache-to: type=gha,mode=max,scope=linux/amd64

- name: 'Install alsa dummy module for testing built image'
- name: Install alsa dummy module for testing built image
run: |
sudo apt-get install linux-modules-extra-$(uname -r)
sudo modprobe snd-dummy
- name: 'Test built amd64 image'
- name: Test built amd64 image
run: |
docker run --rm -p 8080:8080 --device /dev/snd --env ALSA_CARD=0 birdnet-go:test realtime --source "Dummy" & p1=$!
if ! wget --retry-connrefused --waitretry=1 --tries=5 -q -O /dev/null http://localhost:8080; then
Expand All @@ -53,24 +53,24 @@ jobs:
- platform: linux/arm64
- platform: linux/amd64
steps:
- name: 'Checkout GitHub Action'
- name: Checkout GitHub Action
uses: actions/checkout@v4.1.5

- name: 'Login to GitHub Container Registry'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 'Generate downcase repository name'
- name: Generate downcase repository name
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
- name: 'Set up Docker Buildx'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.3.0

- name: 'Build and push docker image'
- name: Build and push docker image
uses: docker/build-push-action@v5.3.0
with:
context: .
Expand Down

0 comments on commit 3fda898

Please sign in to comment.