Skip to content

Commit

Permalink
Chnaged location of copy command
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Belton-gov committed Feb 1, 2024
1 parent db9c22e commit cdb936e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Copy grafana.ini to /etc/grafana
run: |
sudo cp /home/runner/work/Grafana.Plugin.CostManagement/Grafana.Plugin.CostManagement/grafana-files/grafana.ini /etc/grafana/
ls -l /etc/grafana/
cat /etc/grafana/grafana.ini
shell: bash

- name: Build Docker Image
run: |
docker build . -t ghcr.io/dfe-digital/grafana-azurecostplugin-grafana:${{ env.PLUGIN_VERSION }}
sudo cp /home/runner/work/Grafana.Plugin.CostManagement/Grafana.Plugin.CostManagement/grafana-files/grafana.ini /etc/grafana/
ls -l /etc/grafana/
cat /etc/grafana/grafana.ini
docker push ghcr.io/dfe-digital/grafana-azurecostplugin-grafana:${{ env.PLUGIN_VERSION }}
env:
Expand Down

0 comments on commit cdb936e

Please sign in to comment.