This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
Update coder.Dockerfile #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Botway Docker CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_ID }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Build | |
run: | | |
docker build -t botwayorg/coder:latest --file coder.Dockerfile . | |
docker push botwayorg/coder:latest | |
docker build -t botwayorg/ce:latest . | |
docker push botwayorg/ce:latest |