Change docker build
This commit is contained in:
parent
e3c4d7fefd
commit
da5ed085e7
1 changed files with 2 additions and 9 deletions
11
.github/workflows/main.yaml
vendored
11
.github/workflows/main.yaml
vendored
|
|
@ -20,17 +20,10 @@ jobs:
|
|||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Install buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: Build and push job
|
||||
run: |
|
||||
docker buildx build \
|
||||
--tag $CONTAINER_REGISTRY/timeline:latest \
|
||||
--platform linux/amd64,linux/arm/v7,linux/arm64 . --push
|
||||
docker build . -t $CONTAINER_REGISTRY/timeline
|
||||
docker push $CONTAINER_REGISTRY/timeline
|
||||
|
||||
push:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue