Skip to content

Commit

Permalink
tidy up image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
baxtree committed Mar 10, 2022
1 parent 0b3301b commit 7bf70e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,45 +98,6 @@ jobs:
github-token: ${{ github.token }}
tags: baxtree/subaligner:${{ steps.tag.outputs.TAG }}.deb10
push: true

- name: Build and push the ArchLinux image
id: docker_build_arch
uses: docker/build-push-action@v2
with:
context: ./docker
file: "./docker/Dockerfile-ArchLinux"
build-args: |
"RELEASE_VERSION=${{ steps.tag.outputs.TAG }}"
allow: network.host
github-token: ${{ github.token }}
tags: baxtree/subaligner:${{ steps.tag.outputs.TAG }}.arch
push: true

- name: Build and push the CentOS 8 image
id: docker_build_el8
uses: docker/build-push-action@v2
with:
context: ./docker
file: "./docker/Dockerfile-CentOS8"
build-args: |
"RELEASE_VERSION=${{ steps.tag.outputs.TAG }}"
allow: network.host
github-token: ${{ github.token }}
tags: baxtree/subaligner:${{ steps.tag.outputs.TAG }}.el8
push: true

- name: Build and push the CentOS 7 image
id: docker_build_el7
uses: docker/build-push-action@v2
with:
context: ./docker
file: "./docker/Dockerfile-CentOS7"
build-args: |
"RELEASE_VERSION=${{ steps.tag.outputs.TAG }}"
allow: network.host
github-token: ${{ github.token }}
tags: baxtree/subaligner:${{ steps.tag.outputs.TAG }}.el7
push: true

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
2 changes: 1 addition & 1 deletion docker/Dockerfile-ArchLinux
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV RELEASE_VERSION=${RELEASE_VERSION}
RUN ["/bin/bash", "-c", "pacman --noconfirm -Sy gcc ffmpeg espeak-ng &&\
pacman --noconfirm -Sy libsndfile &&\
pacman --noconfirm -Sy libnsl &&\
pacman --noconfirm -Syu python python-pip &&\
pacman --noconfirm -Syu python38 python-pip &&\
ln -s /usr/lib/libffi.so.7 /usr/lib/libffi.so.6 &&\
python -m pip install wheel &&\
python -m pip install \"subaligner==${RELEASE_VERSION}\" &&\
Expand Down

0 comments on commit 7bf70e4

Please sign in to comment.