-
Notifications
You must be signed in to change notification settings - Fork 5
30 lines (24 loc) · 867 Bytes
/
dev.yml
File metadata and controls
30 lines (24 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Dev Branch Release
on:
push:
branches:
- dev
jobs:
build_dev:
name: Build Docker image for dev branch
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up Docker tag
id: docker_tag
run: echo "tag=dev" >> $GITHUB_OUTPUT
- name: Build the Docker image
run: docker build . --file Dockerfile --tag zbejas/orbiscast:dev
- name: Push the Docker image
run: docker push zbejas/orbiscast:dev