Skip to content

Commit

Permalink
bump github action versions to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Athou committed Jan 26, 2024
1 parent b82077d commit e69c230
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

# Setup
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

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

- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: "temurin"
Expand All @@ -42,14 +42,14 @@ jobs:

# Docker
- name: Login to Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
if: ${{ matrix.java == '17' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker build and push tag
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
if: ${{ matrix.java == '17' && github.ref_type == 'tag' }}
with:
context: .
Expand All @@ -60,7 +60,7 @@ jobs:
athou/commafeed:${{ github.ref_name }}
- name: Docker build and push master
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
if: ${{ matrix.java == '17' && github.ref_name == 'master' }}
with:
context: .
Expand Down

0 comments on commit e69c230

Please sign in to comment.