Skip to content

Commit

Permalink
Push alphalink container
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaMolod committed Nov 21, 2024
1 parent af8d7a2 commit 240551b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,48 @@ jobs:
tags: ${{ secrets.DOCKER_USERNAME }}/fold:${{ github.event.release.tag_name }}
ssh: default

build-alphalink-container:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4

- name: Free disk space
run: |
rm -rf /opt/hostedtoolcache
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push alphalink container
if: github.event_name == 'push'
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/alphalink.dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/alphalink:latest
ssh: default

- name: Build and push alphalink container with version
if: github.event_name == 'release' && github.event.action == 'published'
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/alphalink.dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/alphalink:${{ github.event.release.tag_name }}
ssh: default

build-analysis-container:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 240551b

Please sign in to comment.