Upgraded build push action version. Changed ubuntu version

This commit is contained in:
Marcel Baumgartner
2024-06-28 11:55:55 +02:00
parent 1b6bc61263
commit 9d9717df61

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -18,7 +18,7 @@ jobs:
- name: Login into docker hub - name: Login into docker hub
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PW }} run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PW }}
- name: Build and Push Docker image - name: Build and Push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: ./Moonlight/Dockerfile file: ./Moonlight/Dockerfile
@@ -30,4 +30,3 @@ jobs:
"BUILD_COMMIT_HASH=${git rev-parse --short '$GITHUB_SHA'}" "BUILD_COMMIT_HASH=${git rev-parse --short '$GITHUB_SHA'}"
"BUILD_NAME=devbuild ${date}" "BUILD_NAME=devbuild ${date}"
"BUILD_VERSION=${git rev-parse --short '$GITHUB_SHA'}" "BUILD_VERSION=${git rev-parse --short '$GITHUB_SHA'}"