Upgraded build push action version. Changed ubuntu version
This commit is contained in:
5
.github/workflows/development-build.yml
vendored
5
.github/workflows/development-build.yml
vendored
@@ -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'}"
|
||||||
|
|
||||||
Reference in New Issue
Block a user