try with podman?
This commit is contained in:
parent
42c17345cf
commit
a4d8609b29
@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
package_harmony_composer:
|
||||
container:
|
||||
image: hub.nationtech.io/harmony/harmony_composer:latest@sha256:838940047132152817e63b783e8e0241498a94ce8ed245413727a9420d0a29db
|
||||
image: hub.nationtech.io/harmony/harmony_composer:latest@sha256:72711ad44406223a02e2e17b7a0af5b660db7e9a500a89ce43003cfd92a55205
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -41,18 +41,18 @@ jobs:
|
||||
password: ${{ secrets.HUB_BOT_PASSWORD }}
|
||||
|
||||
# TODO: build ARM images too
|
||||
# - name: Build docker container
|
||||
# run: docker build . -t hub.nationtech.io/harmony/harmony_composer
|
||||
- name: Build docker container
|
||||
run: docker build . -t hub.nationtech.io/harmony/harmony_composer
|
||||
|
||||
# - name: Push docker container
|
||||
# run: docker push hub.nationtech.io/harmony/harmony_composer
|
||||
- name: Push docker container
|
||||
run: docker push hub.nationtech.io/harmony/harmony_composer
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: hub.nationtech.io/harmony/harmony_composer:latest
|
||||
# - name: Build and push
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# push: true
|
||||
# tags: hub.nationtech.io/harmony/harmony_composer:latest
|
||||
|
@ -15,7 +15,8 @@ RUN apt update
|
||||
# For checkout action
|
||||
RUN apt install -y nodejs
|
||||
|
||||
RUN apt install -y docker.io
|
||||
# RUN apt install -y docker.io
|
||||
RUN apt install -y podman podman-docker
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-gnu
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user