Skip to content

Commit

Permalink
Bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Oct 7, 2023
1 parent 71c2972 commit f6f4bff
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -532,14 +532,14 @@ jobs:
access_token: ${{ github.token }}

- name: Log in to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -573,12 +573,12 @@ jobs:

- name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

- name: Build prod image and push to GHCR
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ env.DOCKER_FILE }}
target: prod
Expand All @@ -603,7 +603,7 @@ jobs:

- name: Build prod image and push to Docker Hub
if: ${{ env.DEPLOY_DOCKER_HUB == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ env.DOCKER_FILE }}
target: prod
Expand Down Expand Up @@ -640,15 +640,15 @@ jobs:
run: echo "ECR_REGISTRY=${{ steps.ecr-login.outputs.registry }}" >> $GITHUB_ENV

# - name: Log in to ECR
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: ${{ env.ECR_REGISTRY }}
# username: ${{ secrets.AWS_ACCESS_KEY_ID }}
# password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Build prod image and push to AWS ECR
if: ${{ env.AWS_ENABLED == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
env:
REGISTRY: "${{ env.ECR_REGISTRY }}/"
IMAGE_OWNER: "${{ env.ECR_IMAGE_OWNER }}/"
Expand Down Expand Up @@ -687,15 +687,15 @@ jobs:
# uses: actions/checkout@v4
#
# - name: Log in to GHCR
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
#
# # Pull public images without rate limits
# # - name: Log in to Docker Hub
# # uses: docker/login-action@v2
# # uses: docker/login-action@v3
# # with:
# # username: ${{ secrets.DOCKERHUB_USERNAME }}
# # password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -707,7 +707,7 @@ jobs:
# driver-opts: network=host
#
# - name: Build newman image
# uses: docker/build-push-action@v3
# uses: docker/build-push-action@v5
# with:
# file: deploy/newman.Dockerfile
# context: .
Expand Down Expand Up @@ -760,7 +760,7 @@ jobs:
VAR: ${{ matrix.elixir }}-erlang-${{ matrix.otp }}-${{ matrix.os }}-${{ matrix.build_os_ver }}
steps:
- name: Log in to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -875,7 +875,7 @@ jobs:
VAR: ${{ matrix.elixir }}-erlang-${{ matrix.otp }}-${{ matrix.os }}-${{ matrix.build_os_ver }}
steps:
- name: Log in to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -965,7 +965,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log in to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -978,7 +978,7 @@ jobs:
# --tag ghcr.io/${{env.IMAGE_OWNER}}/${{env.IMAGE_NAME}}:${{env.IMAGE_TAG}}

- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -993,7 +993,7 @@ jobs:
driver-opts: network=host

# - name: Build final prod image and push to GHCR as latest
# uses: docker/build-push-action@v3
# uses: docker/build-push-action@v5
# with:
# file: ${{ env.DOCKER_FILE }}
# target: prod
Expand All @@ -1008,7 +1008,7 @@ jobs:

- name: Build final prod image and push to Docker Hub
if: ${{ env.DEPLOY_DOCKER_HUB == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ env.DOCKER_FILE }}
target: prod
Expand Down Expand Up @@ -1043,7 +1043,7 @@ jobs:
run: echo "ECR_REGISTRY=${{ steps.ecr-login.outputs.registry }}" >> $GITHUB_ENV

# - name: Log in to ECR
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: ${{ env.ECR_REGISTRY }}
# username: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -1060,7 +1060,7 @@ jobs:

- name: Build final prod image and push to AWS ECR
if: ${{ env.AWS_ENABLED == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
env:
REGISTRY: "${{ env.ECR_REGISTRY }}/"
IMAGE_OWNER: "${{ env.ECR_IMAGE_OWNER }}/"
Expand Down

0 comments on commit f6f4bff

Please sign in to comment.