diff --git a/.github/workflows/deploy_docker.yml b/.github/workflows/deploy_docker.yml index 1f94a39a9..4651c3ffa 100644 --- a/.github/workflows/deploy_docker.yml +++ b/.github/workflows/deploy_docker.yml @@ -1,10 +1,10 @@ -name: Deploy docker (arm64v8) +name: Build and Push dockers on: push: branches: #- 'main' - - 'abc' + - 'docker' jobs: docker: @@ -14,7 +14,8 @@ jobs: contents: read steps: - - uses: actions/checkout@main + - name: Checkout code + uses: actions/checkout@v3 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -28,10 +29,18 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push + - name: Build ubuntu image uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl-arm64v8:latest \ No newline at end of file + tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl:ubuntu + + - name: Build archlinux image + uses: docker/build-push-action@v5 + with: + context: . + file: ./docker/Dockerfile.archlinux + push: true + tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl:archlinux \ No newline at end of file