Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Bump golang from 1.16.0-alpine to 1.16.2-alpine (#90)
Browse files Browse the repository at this point in the history
* Bump golang from 1.16.0-alpine to 1.16.2-alpine

Bumps golang from 1.16.0-alpine to 1.16.2-alpine.

Signed-off-by: dependabot[bot] <[email protected]>

* WIP

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <[email protected]>
  • Loading branch information
dependabot[bot] and Paramtamtam authored Mar 23, 2021
1 parent 8ef8f68 commit cf20618
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.0
go-version: 1.16.2

- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -67,9 +67,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1 # Action page: <https://github.com/docker/setup-qemu-action>

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 # Action page: <https://github.com/docker/setup-buildx-action>
id: buildx

- name: Docker login in default registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin
Expand All @@ -84,11 +86,12 @@ jobs:
- name: Build image
run: |
docker buildx build \
--platform ${{ steps.buildx.outputs.platforms }} \
--platform "linux/amd64,linux/386,linux/arm64,linux/arm/v6,linux/arm/v7" \
--tag "tarampampam/mikrotik-hosts-parser:${{ steps.values.outputs.version }}" \
--tag "tarampampam/mikrotik-hosts-parser:latest" \
--tag "ghcr.io/tarampampam/mikrotik-hosts-parser:${{ steps.values.outputs.version }}" \
--tag "ghcr.io/tarampampam/mikrotik-hosts-parser:latest" \
--build-arg "APP_VERSION=${{ steps.values.outputs.version }}" \
--file ./Dockerfile \
--push \
.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.0
go-version: 1.16.2

- name: Check out code
uses: actions/checkout@v2
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.0
go-version: 1.16.2

- name: Check out code
uses: actions/checkout@v2
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v4.2.0

### Changed

- Go version updated from `1.16.0` up to `1.16.2`

### Added

- Support for `linux/arm64`, `linux/arm/v6` and `linux/arm/v7` platforms for docker image

## v4.1.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.2

# Image page: <https://hub.docker.com/_/golang>
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.16.0-alpine as builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.16.2-alpine as builder

# can be passed with any prefix (like `v1.2.3@GITHASH`)
# e.g.: `docker build --build-arg "APP_VERSION=v1.2.3@GITHASH" .`
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ volumes:

services:
app: &app-service
image: golang:1.16.0-buster # Image page: <https://hub.docker.com/_/golang>
image: golang:1.16.2-buster # Image page: <https://hub.docker.com/_/golang>
working_dir: /src
environment:
HOME: /tmp
Expand Down

0 comments on commit cf20618

Please sign in to comment.