Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenfoxx authored Feb 14, 2024
1 parent 73ac717 commit 13767c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and push (latest)
uses: docker/build-push-action@v2
with:
Expand All @@ -39,6 +42,7 @@ jobs:
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zandronum-server:latest
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/zandronum-server:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/zandronum-server:buildcache,mode=max

- name: Build and push (Multiplay)
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 13767c2

Please sign in to comment.