From a4f542e15d995b5afc367198cd478743a8eb58f5 Mon Sep 17 00:00:00 2001 From: log101 Date: Mon, 29 Jul 2024 20:39:43 +0300 Subject: [PATCH] ci: add new build step --- .gitea/workflows/push-registry.yml | 2 ++ Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/push-registry.yml b/.gitea/workflows/push-registry.yml index 2ec52f5..adb1990 100644 --- a/.gitea/workflows/push-registry.yml +++ b/.gitea/workflows/push-registry.yml @@ -20,6 +20,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry uses: docker/login-action@v3 diff --git a/Dockerfile b/Dockerfile index 293473a..d4d3422 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.3-alpine as builder +FROM golang:1.22.3-alpine AS builder WORKDIR /usr/src/app