Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to shared-actions v2 #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Get Version
run: |
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
if: github.event_name == 'release'

- name: Upload server Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: server
path: server/build/libs/*.jar
Expand All @@ -71,7 +71,7 @@ jobs:
if: github.event_name == 'release'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Get Version
run: |
Expand Down Expand Up @@ -108,27 +108,27 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
install: true

- name: Available platforms
run: echo ${{ steps.qemu.outputs.platforms }}

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: server
path: server/build/libs

- name: Log into DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: server
file: server/docker/Dockerfile
Expand Down
Loading