diff options
| author | Syndamia <kamen@syndamia.com> | 2024-08-13 14:27:49 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-08-13 14:28:07 +0300 |
| commit | 7e26ccf5311d3c68a13b693c5e2b05c61e31f398 (patch) | |
| tree | 6ae3f238a44f43295eb72232502d764610715893 /.github/workflows/cd-dev.yml | |
| parent | d9f35a55008a2c4b2a52a09178efdc95bc11a8b2 (diff) | |
| download | pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.tar pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.tar.gz pico-web-7e26ccf5311d3c68a13b693c5e2b05c61e31f398.zip | |
feat!: Major workflow rename, reorder, restructure and README updates
Diffstat (limited to '.github/workflows/cd-dev.yml')
| -rw-r--r-- | .github/workflows/cd-dev.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml new file mode 100644 index 0000000..9610ca9 --- /dev/null +++ b/.github/workflows/cd-dev.yml @@ -0,0 +1,31 @@ +name: Create and release development container +on: + workflow_run: + workflows: ["Build, test, security"] + types: + - completed + branches: + - dev +jobs: + Create-and-release-dev-container: + name: Build the dev docker container image and push it to dockerhub + runs-on: ubuntu-latest + needs: Build + steps: + - uses: actions/checkout@v4 + - uses: dawidd6/action-download-artifact@v6 + with: + github_token: ${{ secrets.TOKEN_GITHUB }} + workflow: ${{ github.workflow_run.id }} + name: dev-build-files + path: ./build + - uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - uses: docker/build-push-action@v5 + with: + push: true + context: . + file: ./docker/dev/Dockerfile + tags: ${{ secrets.DOCKERHUB_USERNAME }}/pico-web-dev:latest |
