Skip to content

Commit

Permalink
Updated version of the docker actions. also it will kick off a build …
Browse files Browse the repository at this point in the history
…I can compare with
  • Loading branch information
Duceswild99 committed Feb 5, 2023
1 parent 1b24fa5 commit 99381d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -44,7 +44,7 @@ jobs:
run: echo "::set-output name=version::$(date +'%Y-%m-%d').$GITHUB_RUN_NUMBER"

- name: Build app image and push to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
pull: true
Expand All @@ -57,7 +57,7 @@ jobs:
build-args: BUILDKIT_INLINE_CACHE=1

- name: Build socket image and push to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
target: socket-server
Expand Down

0 comments on commit 99381d9

Please sign in to comment.