Skip to content

Commit

Permalink
use github-hosted Ubuntu 20.04 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lukey-luke committed Jan 23, 2025
1 parent 836cc1b commit d9fd234
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 74 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker Build

on:
push:
# branches:
# - main
# pull_request:
# branches:
# - main
# pull_request:
workflow_call:
inputs:
branch:
Expand All @@ -18,17 +18,14 @@ permissions:

jobs:
docker_build:
runs-on: self-hosted
container:
image: ubuntu:20.04
runs-on: ubuntu-20.04
steps:
- name: Install system packages
run: |
apt-get update
apt-get install -y make
apt-get install -y docker.io
# apt-get install -y docker
# apt-get install -y aws-cli
- name: Checkout code
uses: actions/checkout@v4
with:
# path: ./dpc-app
# ref: ${{ github.event.pull_request.head.sha || github.event.inputs.branch }}
ref: ${{ github.ref_name }}

- name: Check docker version
run: docker --version
Expand All @@ -42,13 +39,6 @@ jobs:
- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v2

- name: Checkout code
uses: actions/checkout@v4
with:
# path: ./dpc-app
# ref: ${{ github.event.pull_request.head.sha || github.event.inputs.branch }}
ref: ${{ github.ref_name }}

- name: "Set up JDK 11"
uses: actions/setup-java@v1
with:
Expand Down
54 changes: 0 additions & 54 deletions .github/workflows/docker_build_ubuntu_version.yml

This file was deleted.

0 comments on commit d9fd234

Please sign in to comment.