Skip to content

Commit

Permalink
remove dev registry
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybart1337 committed Aug 30, 2024
1 parent ff3eed1 commit 835ef8e
Showing 1 changed file with 12 additions and 29 deletions.
41 changes: 12 additions & 29 deletions .github/workflows/manual-build-push-release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: manual-build-push-release

on:
on:
workflow_dispatch:
inputs:
tag_version:
description: 'Docker Image Tag'
description: "Docker Image Tag"
required: true
default: ''
default: ""

jobs:
build:
runs-on: ubuntu-latest

steps:
-
name: Free Disk Space (Ubuntu)
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
Expand All @@ -24,45 +23,30 @@ jobs:
large-packages: true
docker-images: true
swap-storage: true
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Tag Version
- name: Tag Version
run: echo ${{ github.event.inputs.tag_version }}
-
name: Write Tag to ENV variable
- name: Write Tag to ENV variable
run: echo "LABEL_VERSION=${{ github.event.inputs.tag_version }}" >> $GITHUB_ENV
-
name: Login to DockerHub
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME_COMMUNITY }}
password: ${{ secrets.DOCKER_TOKEN_COMMUNITY }}
-
name: Login to Docker Supervisely Enterprise
- name: Login to Docker Supervisely Enterprise
uses: docker/login-action@v3
with:
registry: ${{ secrets.DOCKER_ENTERPRISE_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME_ENTERPRISE }}
password: ${{ secrets.DOCKER_PASSWORD_ENTERPRISE }}
# -
# name: Login to Docker Supervisely Developer
# uses: docker/login-action@v3
# with:
# registry: ${{ secrets.DOCKER_DEVELOPER_REGISTRY }}
# username: ${{ secrets.DOCKER_USERNAME_DEVELOPER }}
# password: ${{ secrets.DOCKER_PASSWORD_DEVELOPER }}
-
name: Get Docker Labels from python script
- name: Get Docker Labels from python script
run: python .github/workflows/docker_labels.py
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.9.1
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./
Expand All @@ -73,7 +57,6 @@ jobs:
tags: |
supervisely/agent:${{ env.LABEL_VERSION }}
${{ secrets.DOCKER_ENTERPRISE_REGISTRY }}/rc2/agent:${{ env.LABEL_VERSION }}
${{ secrets.DOCKER_DEVELOPER_REGISTRY }}/supervisely/five/agent:${{ env.LABEL_VERSION }}
build-args: |
LABEL_VERSION=agent:${{ env.LABEL_VERSION }}
Expand Down

0 comments on commit 835ef8e

Please sign in to comment.