From b16251af96ba6c8e8628ae4f17c4bf91d4194185 Mon Sep 17 00:00:00 2001 From: d3vyce <44915747+d3vyce@users.noreply.github.com> Date: Tue, 4 Apr 2023 22:09:15 +0200 Subject: [PATCH] Create docker-build-dev.yml --- .gitea/workflows/docker-build-dev.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/docker-build-dev.yml diff --git a/.gitea/workflows/docker-build-dev.yml b/.gitea/workflows/docker-build-dev.yml new file mode 100644 index 0000000..ecac38f --- /dev/null +++ b/.gitea/workflows/docker-build-dev.yml @@ -0,0 +1,20 @@ +name: Docker-build-dev +on: + push: + branches: [ dev ] +jobs: + docker-build: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Set up docker + run: | + apt update + apt install -y docker.io + - name: Build/Push + run: | + echo ${{ secrets.GIT_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin git.d3vyce.fr + docker build -t d3vyce.fr . + docker tag d3vyce.fr git.d3vyce.fr/d3vyce/d3vyce.fr:dev + docker push git.d3vyce.fr/d3vyce/d3vyce.fr:dev