Skip to content

Commit

Permalink
Update prepare.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel authored Oct 24, 2023
1 parent 01e1193 commit 0ffd07f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,7 @@ jobs:
job1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install docker
run: |
apt-get update
apt-get install ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build $DOCKER_OPTS -t docker_image:ol8 --build-arg OS_DISTRO=oraclelinux --build-arg OS_RELEASE=8 -f docker/Dockerfile .
job2:
Expand Down

0 comments on commit 0ffd07f

Please sign in to comment.