Skip to content

Commit

Permalink
🐳 Update Docker workflow with the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed May 25, 2024
1 parent 3488727 commit cc736b2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: 🛎️ Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: 🔖 Get App Version
uses: tyankatsu0105/read-package-version-actions@v1
Expand Down Expand Up @@ -66,10 +66,10 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7

- name: 🔧 Set up Docker Buildx
uses: docker/setup-buildx-action@v1
id: buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: image=moby/buildkit:v0.10.6
use-buildkit: true
buildkit-daemon-opts: "--oci-worker-no-process-sandbox"

- name: 👀 Inspect builder
run: |
Expand All @@ -80,13 +80,13 @@ jobs:
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
- name: 🔑 Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: 🔑 Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -96,7 +96,7 @@ jobs:
uses: crazy-max/ghaction-docker-status@v1

- name: ⚒️ Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit cc736b2

Please sign in to comment.