Skip to content

Commit

Permalink
use Dockerfile instead of image url
Browse files Browse the repository at this point in the history
action.yml does not get the associated image tag
  • Loading branch information
crhntr committed Jul 4, 2023
1 parent 9c9bd17 commit d25436e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 96 deletions.
94 changes: 0 additions & 94 deletions .github/workflows/docker-publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine AS builder
FROM golang:1-alpine AS builder
COPY . /code/backtest-action
ENV CGO_ENABLED=0
RUN cd /code/backtest-action && go build -v -o backtest-action .
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: 'Portfolio Backtest Action'
description: 'Backtest simple portfolio specifications.'
runs:
using: 'docker'
image: 'docker://ghcr.io/portfoliotree/backtest-action:latest'
image: 'Dockerfile'

0 comments on commit d25436e

Please sign in to comment.