From 4743d89c9fe093b2a749ae2a2b83da0ae3ae8306 Mon Sep 17 00:00:00 2001 From: Phillip Schichtel Date: Tue, 3 Oct 2023 01:33:37 +0200 Subject: [PATCH] ops --- .github/workflows/fetch-versions.yml | 6 ------ .github/workflows/pushDocker.yml | 6 ++++++ Dockerfile | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/fetch-versions.yml b/.github/workflows/fetch-versions.yml index bc10f08..d7ceaca 100644 --- a/.github/workflows/fetch-versions.yml +++ b/.github/workflows/fetch-versions.yml @@ -20,12 +20,6 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - uses: actions/checkout@v3 - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - name: Fetch Versions run: ./fetch-versions.sh diff --git a/.github/workflows/pushDocker.yml b/.github/workflows/pushDocker.yml index 0aa8d6b..0c99282 100644 --- a/.github/workflows/pushDocker.yml +++ b/.github/workflows/pushDocker.yml @@ -16,5 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push run: ./build-images.sh diff --git a/Dockerfile b/Dockerfile index a983977..82bfc37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG JAVA_BASE_IMAGE=eclipse-temurin:17-jdk-alpine -FROM alpine:3.15 AS mcrcon +FROM alpine:3.18 AS mcrcon ARG MCRCON_VERSION="0.7.2"