Skip to content

Commit

Permalink
reanble build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
GiugAles committed Jan 23, 2024
1 parent 5a063a6 commit 85ad287
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/containerized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/upload-artifact@v3
if: always()
with:
name: app
name: yggdrasil-${{ env.YGGDRASIL_VERSION }}-SNAPSHOT-all.jar
path: "build/libs/yggdrasil-${{ env.YGGDRASIL_VERSION }}-SNAPSHOT-all.jar"
if-no-files-found: error
- name: Upload conf to GitHub
Expand Down Expand Up @@ -93,24 +93,18 @@ jobs:
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
# WARNING: https://stackoverflow.com/a/57877438 is suggesting to use '@master'
# however due to change from "master" to "main", "master" is outdated
uses: actions/download-artifact@v3
id: download
with:
# Omitting name to download all artifacts
path: /opt/app/
-
name: 'Echo download path'
run: echo ${{steps.download.outputs.download-path}}
# -
# uses: actions/download-artifact@master
# with:
# name: conf
# path: /opt/conf/docker_disk_config.json
# -
# name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# push: true
# tags: galess/ics-hsg-yggdrasil:${{ vars.GITHUB_REF_NAME }}
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: galess/ics-hsg-yggdrasil:${{ env.YGGDRASIL_VERSION }}

0 comments on commit 85ad287

Please sign in to comment.