Skip to content

Commit

Permalink
Extract nginx version from Dockerfile argument
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed Apr 25, 2024
1 parent 11b7616 commit e832e2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
run: |
echo "nginx_version=$(grep -m1 'FROM nginx:' <Dockerfile | awk -F'[: ]' '{print $3}')" >> $GITHUB_OUTPUT
- name: Nginx version
run: echo "${{ steps.var.outputs.nginx_version }}"

- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
Expand Down

0 comments on commit e832e2d

Please sign in to comment.