Skip to content

Commit

Permalink
dont fail if self version not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
b2un0 committed Jun 25, 2024
1 parent 3f52917 commit 51a7ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
run: |
# DOCKER_IMAGE="ghcr.io/${{ github.repository_owner }}/docker-minecraft-papermc-server:${{ matrix.versions }}"
DOCKER_IMAGE="docker.io/marctv/minecraft-papermc-server:${{ matrix.versions }}"
docker pull $DOCKER_IMAGE
echo self_build=$(docker inspect $DOCKER_IMAGE --format '{{ index .Config.Labels "org.mojang.minecraft.papermc.build"}}') >> $GITHUB_OUTPUT
docker pull $DOCKER_IMAGE || true
echo self_build=$(docker inspect $DOCKER_IMAGE --format '{{ index .Config.Labels "org.mojang.minecraft.papermc.build"}}' || true) >> $GITHUB_OUTPUT
- name: show output
if: always()
Expand Down

1 comment on commit 51a7ae6

@mtoensing
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Geil!

Please sign in to comment.