Skip to content

Commit

Permalink
Create docker-images.yml
Browse files Browse the repository at this point in the history
Creating the packages for the goqa
  • Loading branch information
Frenchris authored Feb 20, 2023
1 parent 44d2a65 commit 86b0096
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .gitub/workflows/docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Docker Image CI

on:
push:
branches: ['master']
pull_request:
branches: ['master']

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to docker.01-edu.org Registry
uses: docker/login-action@v1
with:
registry: docker.01-edu.org
username: ${{ secrets.USER_DOCKER_01EDU_ORG }}
password: ${{ secrets.SECRET_DOCKER_01EDU_ORG }}

- name: Build the Go tests Docker image
run: |
docker build . --file Dockerfile --tag ghcr.io/01-edu/test-goqa:latest
docker push ghcr.io/01-edu/test-goqa:latest

0 comments on commit 86b0096

Please sign in to comment.