Skip to content

Go 1.21.2 (#68)

Go 1.21.2 (#68) #74

Workflow file for this run

name: Docker Image from master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker Login
uses: docker/login-action@v1
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
- name: Docker Login
uses: docker/login-action@v1
with:
registry: docker.io
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build the latest Docker image
run: |
docker build -t metalstack/builder -t ghcr.io/metal-stack/builder .
- name: Push the latest image
run: |
docker push metalstack/builder
docker push ghcr.io/metal-stack/builder