Skip to content

Updat to go-1.22.2 (#74) #79

Updat to go-1.22.2 (#74)

Updat to go-1.22.2 (#74) #79

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