mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
This commit is contained in:
@@ -10,23 +10,29 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: curl -fsSL https://get.docker.com | sh
|
run: curl -fsSL https://get.docker.com | sh
|
||||||
- uses: actions/checkout@v3
|
- name: Set up QEMU
|
||||||
-
|
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
-
|
- name: Login to Docker Hub
|
||||||
name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- uses: actions/setup-python@v4
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
with:
|
||||||
context: .
|
python-version: "3.10"
|
||||||
push: false
|
- uses: abatilo/actions-poetry@v2
|
||||||
tags: ajurna/cbwebreader:latest
|
with:
|
||||||
|
poetry-version: "1.5.1"
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set FOO
|
||||||
|
run: echo "FOO=${{ poetry -V }}" >> $GITHUB_ENV
|
||||||
|
- name: Test
|
||||||
|
run: echo $FOO
|
||||||
|
# - name: Build and push
|
||||||
|
# uses: docker/build-push-action@v4
|
||||||
|
# with:
|
||||||
|
# context: .
|
||||||
|
# push: false
|
||||||
|
# tags: ajurna/cbwebreader:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user