Try using actions instead of commands
This commit is contained in:
parent
a3e53df000
commit
3f69edf059
@ -41,8 +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: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: hub.nationtech.io/harmony/harmony_composer:latest
|
||||
|
Loading…
Reference in New Issue
Block a user