Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alihardan committed Feb 9, 2024
1 parent 2e1654b commit 31d9c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
envs: GITHUB_TOKEN
build-args: |
GITHUB_TOKEN=$BACKUP_TOKEN
build-args: "GITHUB_TOKEN=$BACKUP_TOKEN"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN chown -R application:application .
# EXPOSE 9000
# CMD ["php-fpm"]

ARG GITHUB_TOKEN
ARG BACKUP_TOKEN

RUN mkdir /opgactions
RUN git clone https://${GITHUB_TOKEN}@github.com/oldpersiangames/opg-backups /opgactions/opg-backups
RUN git clone https://${BACKUP_TOKEN}@github.com/oldpersiangames/opg-backups /opgactions/opg-backups
RUN chown -R application:application /opgactions

0 comments on commit 31d9c16

Please sign in to comment.