Skip to content

Commit

Permalink
Create go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwildt authored Mar 11, 2024
1 parent af6f9a3 commit a4ef7e4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Create Image

env:
version: $(date +%s)

on:
push:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --tag registry.ohrenpirat.de:5000/mwildt/registry-proxy:latest
- name: Login Registry
run: echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
- name: Docker Push
run: docker push registry.ohrenpirat.de:5000/mwildt/mwildt/registry-proxy:latest

0 comments on commit a4ef7e4

Please sign in to comment.