Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Drop Docker builds in CI #150

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,32 +82,9 @@ jobs:
- name: Test E2E
run: yarn test:e2e

docker-build:
name: Build docker image and push to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Clone Airseeker
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.TARGET_NODE_VERSION }}
cache: yarn
- name: Build Docker image
run: |
docker build -t api3/airseeker-dev:${{ github.sha }} -f docker/Dockerfile .
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push built image
run: |
docker push api3/airseeker-dev:${{ github.sha }}

required-checks-passed:
name: All required checks passed
runs-on: ubuntu-latest
needs: [documentation, lint-build, docker-build, test, test-e2e]
needs: [documentation, lint-build, test, test-e2e]
steps:
- run: exit 0