diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 0000000..0e4ff52 --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,28 @@ +name: Docker Image CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Publish Docker image to Registry (lts) + uses: elgohr/Publish-Docker-Github-Action@master + env: + TOR_BRANCH: tor-0.3.5.7 + with: + name: ceballiure/tor-rust:v0.3.5.7 + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + buildargs: TOR_BRANCH + - name: Publish Docker image to Registry (stable) + uses: elgohr/Publish-Docker-Github-Action@master + env: + TOR_BRANCH: tor-0.4.1.6 + with: + name: ceballiure/tor-rust:v0.4.1.6 + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + buildargs: TOR_BRANCH +