Skip to content

Commit

Permalink
Merge pull request #1 from stesiam/test
Browse files Browse the repository at this point in the history
Create docker-image.yml
  • Loading branch information
stesiam authored Jan 23, 2024
2 parents 1479c99 + 9a1d72d commit 6c72b80
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Image CI

on:
push:
branches: [ "main", "test"]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
echo "${{ secrets.DOCKERPW }}" | docker login -u "stesiam" --password-stdin
docker build . --file Dockerfile --tag stesiam/glass-api:latest
docker push stesiam/glass-api:latest

0 comments on commit 6c72b80

Please sign in to comment.