Skip to content

Merge pull request #22 from codeinuit/feat/update-go-version-1-21 #21

Merge pull request #22 from codeinuit/feat/update-go-version-1-21

Merge pull request #22 from codeinuit/feat/update-go-version-1-21 #21

Workflow file for this run

name: Deploy
on:
push:
branches: ['dev']
env:
IMAGE_NAME: 'codeinu/shibesbot'
jobs:
build-and-push-images:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ env.IMAGE_NAME }}:dev