Compare commits

...

2 Commits

Author SHA1 Message Date
0c796cad59 Updated Makefile
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-08-07 14:38:35 +01:00
941f6a1304 Added favicon
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-08-07 14:37:08 +01:00
4 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
.DEFAULT_GOAL := default
IMAGE ?= rg.fr-par.scw.cloud/averagemarcus-private/marcusnoble:latest
IMAGE ?= rg.fr-par.scw.cloud/averagemarcus/marcusnoble:latest
.PHONY: test # Run all tests, linting and format checks
test: lint check-format run-tests
@@ -23,11 +23,11 @@ run-tests:
.PHONY: fetch-deps # Fetch all project dependencies
fetch-deps:
@echo "⚠️ 'fetch-deps' unimplemented"
@go mod tidy
.PHONY: build # Build the project
build: lint check-format fetch-deps
@echo "⚠️ 'build' unimplemented"
@go build .
.PHONY: docker-build # Build the docker image
docker-build:
@@ -38,8 +38,8 @@ docker-publish:
@docker push $(IMAGE)
.PHONY: run # Run the application
run: docker-build
@docker run --rm -it -p 8080:80 -v $$(pwd)/src:/usr/share/nginx/html $(IMAGE)
run:
@go run .
.PHONY: ci # Perform CI specific tasks to perform on a pull request
ci:
@@ -47,7 +47,7 @@ ci:
.PHONY: release # Release the latest version of the application
release:
@kubectl --context scaleway --namespace marcusnoble set image deployment marcusnoble web=rg.fr-par.scw.cloud/averagemarcus-private/marcusnoble:$(SHA)
@kubectl --context scaleway --namespace marcusnoble set image deployment marcusnoble web=rg.fr-par.scw.cloud/averagemarcus/marcusnoble:$(SHA)
.PHONY: help # Show this list of commands
help:

BIN
src/favicon-96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
src/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width">
<title>Marcus Noble</title>
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96.png">
<style>
@font-face {