Skip to content

Commit

Permalink
feat: Moves away from private registry to Dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
moraesjeremias committed Feb 28, 2024
1 parent a50b7f4 commit bac7150
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -64,16 +64,11 @@ jobs:
run: |
TAG=${GITHUB_REF#refs/tags/}
echo ::set-output name=tag_name::${TAG}
- name: Sets Digital Ocean Registry
id: sets_do_registry
run: |
echo ::set-output name=do_registry::registry.digitalocean.com
- name: Login to Digital Ocean Registry
uses: docker/login-action@v3
with:
registry: ${{ steps.sets_do_registry.outputs.do_registry }}
username: ${{ secrets.DO_USER_EMAIL }}
password: ${{ secrets.DO_USER_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push images
uses: docker/build-push-action@v5
with:
Expand All @@ -82,6 +77,6 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.sets_do_registry.outputs.do_registry }}/availj/bridge-api:${{ steps.prepare.outputs.tag_name }}
tags: availj/bridge-api:${{ steps.prepare.outputs.tag_name }}
build-args: |
BUILD_PROFILE=release

0 comments on commit bac7150

Please sign in to comment.