Skip to content

Commit

Permalink
add workflow to test GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed Oct 15, 2024
1 parent 787be78 commit aa86829
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
## needed for cross-compilation via qemu
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
- uses: ./.github/actions/setup
- name: download build-amd64
uses: actions/download-artifact@v4
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test glrd GH action
on:
workflow_dispatch:
jobs:
query:
name: query
runs-on: 'ubuntu-latest'
steps:
# added temporarily as long as repo is private - start
- name: podman login
run: |
podman login -u token -p ${{ github.token }} ghcr.io
# added temporarily as long as repo is private - end
- name: Get latest GL patch version
id: gl_version_latest
uses: gardenlinux/glrd@main
with:
cmd: glrd --no-header --type patch --latest --fields Version
- name: Use latest GL patch version
run: echo ${{ steps.gl_version_latest.outputs.result }}
- name: Get latest GL nightly version
id: gl_version_nightly
uses: gardenlinux/glrd@main
with:
cmd: glrd --no-header --type nightly --latest --fields Version
- name: Use latest GL nightly version
run: echo ${{ steps.gl_version_nightly.outputs.result }}

0 comments on commit aa86829

Please sign in to comment.