Skip to content

Bumps go version to 1.21 (latest stable) (#128) #4

Bumps go version to 1.21 (latest stable) (#128)

Bumps go version to 1.21 (latest stable) (#128) #4

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2022 Intel Corporation
name: Docker image
on:
push:
branches:
- master
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout and build
- uses: actions/checkout@v3
- name: Build and push Docker image
run: |
make docker-build
# push-dockerhub:
# env:
# DOCKER_REGISTRY: "docker.io/"
# DOCKER_REPOSITORY: "badhrinathpa/"
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
#
# - run: echo GIT_SHA_SHORT=$(git rev-parse --short HEAD) >> $GITHUB_ENV
#
# - id: docker-login
# uses: docker/[email protected]
# with:
# registry: docker.io
# username: ${{ secrets.DOCKER_HUB_LOGIN }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
#
# - name: Build and push "master-latest" Docker images
# env:
# DOCKER_TAG: master-${{ env.GIT_SHA_SHORT }
# run: |
# make docker-build
# make docker-push