Skip to content

Commit

Permalink
ci: build multistage Docker image instead of download version
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Sep 21, 2023
1 parent 713c376 commit 5ac8d74
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ name: Build Docker images
on: push

jobs:
build_from_download:
runs-on: ubuntu-22.04
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v4
- name: Build Dockerfile_download
run: |
cd docker
docker build . -f Dockerfile_download
# build_single_stage:
# build_from_download:
# runs-on: ubuntu-22.04
# steps:
# # Checks-out the repository under $GITHUB_WORKSPACE.
# - uses: actions/checkout@v4
# - name: Build Dockerfile_build
# - name: Build Dockerfile_download
# run: |
# cd docker
# docker build . -f Dockerfile_build
# build_multiple_stages:
# docker build . -f Dockerfile_download
# build_single_stage:
# runs-on: ubuntu-22.04
# steps:
# # Checks-out the repository under $GITHUB_WORKSPACE.
# - uses: actions/checkout@v4
# - name: Build Dockerfile_multistage_build
# - name: Build Dockerfile_build
# run: |
# cd docker
# docker build . -f Dockerfile_multistage_build
# docker build . -f Dockerfile_build
build_multiple_stages:
runs-on: ubuntu-22.04
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v4
- name: Build Dockerfile_multistage_build
run: |
cd docker
docker build . -f Dockerfile_multistage_build

0 comments on commit 5ac8d74

Please sign in to comment.